pypiper
pypiper copied to clipboard
initialize profile only after first cmd
instead of initilazing right at the beginning, so we end up witht this if no commands are run:
# Pipeline started at 08-12 12:05:20
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:06:30
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:06:57
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:07:14
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:11:13
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:14:09
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:14:28
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:15:17
# pid hash cid runtime mem cmd lock
# Pipeline started at 08-12 12:17:51
# pid hash cid runtime mem cmd lock
or, maybe that's OK...