'_tmp/cat2' -> '/usr/bin/cat' [1/71] make-shwrap mycpp _bin/shwrap/mycpp_main mycpp/mycpp_main.py mycpp/const_pass.py mycpp/control_flow_pass.py mycpp/conversion_pass.py mycpp/cppgen_pass.py mycpp/crash.py mycpp/format_strings.py mycpp/pass_state.py mycpp/translate.py mycpp/util.py mycpp/visitor.py [2/71] write-main _gen/bin/oils_for_unix.mycpp-main.cc oils_for_unix [3/71] make-shwrap py _bin/shwrap/optview_gen core/optview_gen.py frontend/option_def.py [4/71] make-shwrap py _bin/shwrap/asdl_main asdl/asdl_main.py asdl/ast.py asdl/front_end.py asdl/gen_cpp.py asdl/gen_python.py asdl/metrics.py asdl/parse.py asdl/util.py asdl/visitor.py [5/71] make-shwrap py _bin/shwrap/embedded_file_gen cpp/embedded_file_gen.py mycpp/mylib.py pylib/collections_.py [6/71] build-stamp-cpp _build/git-commit.txt _gen/cpp/build_stamp.h _gen/cpp/build_stamp.cc [7/71] make-shwrap py _bin/shwrap/consts_gen frontend/consts_gen.py _devbuild/gen/hnode_asdl.py _devbuild/gen/types_asdl.py asdl/ast.py asdl/gen_cpp.py asdl/pybase.py asdl/runtime.py asdl/util.py asdl/visitor.py frontend/builtin_def.py frontend/id_kind_def.py frontend/option_def.py mycpp/mops.py mycpp/mylib.py pylib/collections_.py [8/71] asdl_main cpp --no-pretty-print-methods asdl/hnode.asdl _gen/asdl/hnode.asdl _gen/asdl/hnode.asdl_debug.py [9/71] optview_gen > _gen/core/optview.h [10/71] embedded_file_gen _devbuild/help/data-errors _devbuild/help/data-front-end _devbuild/help/data-j8-notation _devbuild/help/help _devbuild/help/oils-usage _devbuild/help/osh-builtin-cmd _devbuild/help/osh-chapters _devbuild/help/osh-cmd-lang _devbuild/help/osh-front-end _devbuild/help/osh-mini-lang _devbuild/help/osh-option _devbuild/help/osh-osh-assign _devbuild/help/osh-plugin _devbuild/help/osh-special-var _devbuild/help/osh-stdlib _devbuild/help/osh-type-method _devbuild/help/osh-usage _devbuild/help/osh-word-lang _devbuild/help/shell-flags _devbuild/help/ysh-builtin-cmd _devbuild/help/ysh-builtin-func _devbuild/help/ysh-chapters _devbuild/help/ysh-cmd-lang _devbuild/help/ysh-expr-lang _devbuild/help/ysh-front-end _devbuild/help/ysh-mini-lang _devbuild/help/ysh-option _devbuild/help/ysh-plugin _devbuild/help/ysh-special-var _devbuild/help/ysh-stdlib _devbuild/help/ysh-type-method _devbuild/help/ysh-usage _devbuild/help/ysh-word-lang _devbuild/help/ysh-ysh-cmd stdlib/methods.ysh stdlib/osh/bash-strict.sh stdlib/osh/byo-server.sh stdlib/osh/no-quotes.sh stdlib/osh/task-five.sh stdlib/osh/two.sh stdlib/prelude.ysh stdlib/ysh/args.ysh stdlib/ysh/def.ysh stdlib/ysh/list.ysh stdlib/ysh/math.ysh stdlib/ysh/quote.ysh stdlib/ysh/stream.ysh stdlib/ysh/table.ysh stdlib/ysh/yblocks.ysh _gen/bin/text_files.cc [11/71] make-shwrap py _bin/shwrap/flag_gen frontend/flag_gen.py _devbuild/gen/hnode_asdl.py _devbuild/gen/id_kind_asdl.py _devbuild/gen/runtime_asdl.py _devbuild/gen/syntax_asdl.py _devbuild/gen/value_asdl.py asdl/pybase.py asdl/runtime.py core/error.py core/num.py frontend/args.py frontend/flag_def.py frontend/flag_spec.py frontend/option_def.py frontend/syntax_abbrev.py mycpp/mops.py mycpp/mylib.py pylib/collections_.py [12/71] asdl_main cpp core/runtime.asdl _gen/core/runtime.asdl _gen/core/runtime.asdl_debug.py [13/71] make-shwrap py _bin/shwrap/option_gen frontend/option_gen.py asdl/ast.py frontend/builtin_def.py frontend/option_def.py [14/71] make-shwrap py _bin/shwrap/signal_gen frontend/signal_gen.py frontend/signal_def.py [15/71] asdl_main cpp data_lang/nil8.asdl _gen/data_lang/nil8.asdl _gen/data_lang/nil8.asdl_debug.py [16/71] asdl_main cpp core/value.asdl _gen/core/value.asdl _gen/core/value.asdl_debug.py [17/71] asdl_main cpp display/pretty.asdl _gen/display/pretty.asdl _gen/display/pretty.asdl_debug.py [18/71] signal_gen cpp _gen/frontend/signal [19/71] flag_gen cpp _gen/frontend/arg_types [20/71] consts_gen cpp _gen/frontend/option.asdl [21/71] asdl_main cpp --no-pretty-print-methods frontend/types.asdl _gen/frontend/types.asdl _gen/frontend/types.asdl_debug.py [22/71] consts_gen cpp-consts _gen/frontend/consts [23/71] consts_gen cpp _gen/frontend/id_kind.asdl [24/71] make-shwrap py _bin/shwrap/arith_parse_gen osh/arith_parse_gen.py _devbuild/gen/hnode_asdl.py _devbuild/gen/id_kind_asdl.py _devbuild/gen/nil8_asdl.py _devbuild/gen/pretty_asdl.py _devbuild/gen/runtime_asdl.py _devbuild/gen/syntax_asdl.py _devbuild/gen/types_asdl.py _devbuild/gen/value_asdl.py asdl/format.py asdl/pybase.py asdl/runtime.py core/bash_impl.py core/error.py core/num.py core/optview.py data_lang/j8.py data_lang/j8_lite.py data_lang/pyj8.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/builtin_def.py frontend/consts.py frontend/id_kind_def.py frontend/lexer.py frontend/lexer_def.py frontend/location.py frontend/match.py frontend/option_def.py frontend/syntax_abbrev.py mycpp/mops.py mycpp/mylib.py osh/arith_parse.py osh/tdop.py osh/word_.py pylib/collections_.py [25/71] make-shwrap py _bin/shwrap/grammar_gen ysh/grammar_gen.py _devbuild/gen/hnode_asdl.py _devbuild/gen/id_kind_asdl.py _devbuild/gen/runtime_asdl.py _devbuild/gen/syntax_asdl.py _devbuild/gen/types_asdl.py _devbuild/gen/value_asdl.py asdl/pybase.py asdl/runtime.py core/alloc.py core/error.py core/num.py core/optview.py frontend/builtin_def.py frontend/consts.py frontend/id_kind_def.py frontend/lexer.py frontend/lexer_def.py frontend/match.py frontend/option_def.py frontend/reader.py frontend/syntax_abbrev.py mycpp/iolib.py mycpp/mops.py mycpp/mylib.py pgen2/grammar.py pgen2/parse.py pgen2/pgen.py pgen2/pnode.py pgen2/token.py pgen2/tokenize.py pylib/collections_.py [26/71] asdl_main cpp --abbrev-module=frontend.syntax_abbrev frontend/syntax.asdl _gen/frontend/syntax.asdl _gen/frontend/syntax.asdl_debug.py [27/71] arith-parse-gen > _gen/osh/arith_parse.cc [28/71] grammar_gen cpp ysh/grammar.pgen2 _gen/ysh [29/71] cxx dbg '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-dbg/_gen/frontend/id_kind.asdl.o [30/71] cxx dbg '' cpp/data_lang.cc _build/obj/cxx-dbg/cpp/data_lang.o [31/71] cxx dbg '' _gen/display/pretty.asdl.cc _build/obj/cxx-dbg/_gen/display/pretty.asdl.o [32/71] cxx dbg '' mycpp/bump_leak_heap.cc _build/obj/cxx-dbg/mycpp/bump_leak_heap.o [33/71] cxx dbg '' _gen/core/runtime.asdl.cc _build/obj/cxx-dbg/_gen/core/runtime.asdl.o [34/71] cxx dbg '' mycpp/gc_iolib.cc _build/obj/cxx-dbg/mycpp/gc_iolib.o [35/71] cxx dbg '' _gen/core/value.asdl.cc _build/obj/cxx-dbg/_gen/core/value.asdl.o [36/71] cxx dbg '' mycpp/gc_mylib.cc _build/obj/cxx-dbg/mycpp/gc_mylib.o [37/71] cxx dbg '' mycpp/hash.cc _build/obj/cxx-dbg/mycpp/hash.o [38/71] cxx dbg '' mycpp/gc_builtins.cc _build/obj/cxx-dbg/mycpp/gc_builtins.o [39/71] cxx dbg '' mycpp/gc_mops.cc _build/obj/cxx-dbg/mycpp/gc_mops.o [40/71] cxx dbg '' _gen/cpp/build_stamp.cc _build/obj/cxx-dbg/_gen/cpp/build_stamp.o [41/71] cxx dbg '' _gen/bin/text_files.cc _build/obj/cxx-dbg/_gen/bin/text_files.o [42/71] cxx dbg '' cpp/fanos.cc _build/obj/cxx-dbg/cpp/fanos.o [43/71] cxx dbg '' cpp/fanos_shared.c _build/obj/cxx-dbg/cpp/fanos_shared.o [44/71] cxx dbg '' mycpp/mark_sweep_heap.cc _build/obj/cxx-dbg/mycpp/mark_sweep_heap.o [45/71] cxx dbg '' _gen/frontend/syntax.asdl.cc _build/obj/cxx-dbg/_gen/frontend/syntax.asdl.o [46/71] cxx dbg '' cpp/core.cc _build/obj/cxx-dbg/cpp/core.o [47/71] cxx dbg '' cpp/frontend_pyreadline.cc _build/obj/cxx-dbg/cpp/frontend_pyreadline.o cpp/frontend_pyreadline.cc:54:13: warning: ‘void py_readline::display_matches_hook(char**, int, int)’ defined but not used [-Wunused-function] 54 | static void display_matches_hook(char** matches, int num_matches, | ^~~~~~~~~~~~~~~~~~~~ [48/71] cxx dbg '' cpp/frontend_flag_spec.cc _build/obj/cxx-dbg/cpp/frontend_flag_spec.o [49/71] cxx dbg '' cpp/libc.cc _build/obj/cxx-dbg/cpp/libc.o [50/71] cxx dbg '' cpp/frontend_match.cc _build/obj/cxx-dbg/cpp/frontend_match.o [51/71] cxx dbg '' cpp/osh.cc _build/obj/cxx-dbg/cpp/osh.o [52/71] cxx dbg '' cpp/osh_tdop.cc _build/obj/cxx-dbg/cpp/osh_tdop.o [53/71] cxx dbg '' cpp/pylib.cc _build/obj/cxx-dbg/cpp/pylib.o [54/71] cxx dbg '' cpp/pgen2.cc _build/obj/cxx-dbg/cpp/pgen2.o [55/71] cxx dbg '' cpp/stdlib.cc _build/obj/cxx-dbg/cpp/stdlib.o [56/71] cxx dbg '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-dbg/_gen/data_lang/nil8.asdl.o [57/71] cxx dbg '' _gen/frontend/arg_types.cc _build/obj/cxx-dbg/_gen/frontend/arg_types.o [58/71] cxx dbg '' _gen/frontend/signal.cc _build/obj/cxx-dbg/_gen/frontend/signal.o [59/71] cxx dbg '' _gen/frontend/consts.cc _build/obj/cxx-dbg/_gen/frontend/consts.o [60/71] cxx dbg '' _gen/frontend/help_meta.cc _build/obj/cxx-dbg/_gen/frontend/help_meta.o [61/71] cxx dbg '' _gen/bin/oils_for_unix.mycpp-main.cc _build/obj/cxx-dbg/_gen/bin/oils_for_unix.mycpp-main.o [62/71] cxx dbg '' mycpp/gc_str.cc _build/obj/cxx-dbg/mycpp/gc_str.o [63/71] cxx dbg '' _gen/osh/arith_parse.cc _build/obj/cxx-dbg/_gen/osh/arith_parse.o [64/71] cxx dbg '' _gen/ysh/grammar_tables.cc _build/obj/cxx-dbg/_gen/ysh/grammar_tables.o [65/71] cxx opt '-Ivendor -std=c++17' prebuilt/datalog/dataflow.cc _build/obj/datalog/dataflow.o In file included from vendor/souffle/CompiledSouffle.h:27, from prebuilt/datalog/dataflow.cc:2: vendor/souffle/datastructure/EqRel.h:31:36: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 31 | class iterator_0 : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from vendor/souffle/RamTypes.h:19, from vendor/souffle/CompiledSouffle.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ vendor/souffle/datastructure/EqRel.h:58:36: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 58 | class iterator_1 : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from vendor/souffle/CompiledSouffle.h:28: vendor/souffle/datastructure/Info.h:37:34: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 37 | class iterator : public std::iterator> { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [66/71] LINK cxx opt '-lstdc++fs' _bin/datalog/dataflow _build/obj/datalog/dataflow.o [67/71] cp bin/mycpp_main_souffle.sh _bin/shwrap/mycpp_main_souffle [68/71] mycpp /home/uke/oil:/home/uke/oil/pyext bin/oils_for_unix_preamble.h _gen/bin/oils_for_unix.mycpp.cc asdl/format.py asdl/runtime.py bin/oils_for_unix.py builtin/assign_osh.py builtin/bracket_osh.py builtin/completion_osh.py builtin/completion_ysh.py builtin/dirs_osh.py builtin/error_ysh.py builtin/func_eggex.py builtin/func_hay.py builtin/func_misc.py builtin/func_reflect.py builtin/hay_ysh.py builtin/io_osh.py builtin/io_ysh.py builtin/json_ysh.py builtin/meta_oils.py builtin/method_dict.py builtin/method_io.py builtin/method_list.py builtin/method_other.py builtin/method_str.py builtin/method_type.py builtin/misc_osh.py builtin/module_ysh.py builtin/printf_osh.py builtin/private_ysh.py builtin/process_osh.py builtin/pure_osh.py builtin/pure_ysh.py builtin/read_osh.py builtin/readline_osh.py builtin/trap_osh.py builtin/umask_osh.py core/alloc.py core/bash_impl.py core/comp_ui.py core/completion.py core/dev.py core/error.py core/executor.py core/main_loop.py core/num.py core/process.py core/sh_init.py core/shell.py core/state.py core/util.py core/vm.py data_lang/j8.py data_lang/j8_lite.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/args.py frontend/flag_util.py frontend/lexer.py frontend/location.py frontend/parse_lib.py frontend/reader.py frontend/syntax_abbrev.py frontend/typed_args.py osh/arith_parse.py osh/bool_parse.py osh/braces.py osh/cmd_eval.py osh/cmd_parse.py osh/glob_.py osh/history.py osh/prompt.py osh/sh_expr_eval.py osh/split.py osh/string_ops.py osh/tdop.py osh/word_.py osh/word_compile.py osh/word_eval.py osh/word_parse.py pgen2/parse.py pylib/os_path.py tools/fmt.py tools/lint.py tools/ysh_ify.py ysh/expr_eval.py ysh/expr_parse.py ysh/expr_to_ast.py ysh/func_proc.py ysh/regex_translate.py ysh/val_ops.py mycpp: LOADING asdl/format.py asdl/runtime.py bin/oils_for_unix.py builtin/assign_osh.py builtin/bracket_osh.py builtin/completion_osh.py builtin/completion_ysh.py builtin/dirs_osh.py builtin/error_ysh.py builtin/func_eggex.py builtin/func_hay.py builtin/func_misc.py builtin/func_reflect.py builtin/hay_ysh.py builtin/io_osh.py builtin/io_ysh.py builtin/json_ysh.py builtin/meta_oils.py builtin/method_dict.py builtin/method_io.py builtin/method_list.py builtin/method_other.py builtin/method_str.py builtin/method_type.py builtin/misc_osh.py builtin/module_ysh.py builtin/printf_osh.py builtin/private_ysh.py builtin/process_osh.py builtin/pure_osh.py builtin/pure_ysh.py builtin/read_osh.py builtin/readline_osh.py builtin/trap_osh.py builtin/umask_osh.py core/alloc.py core/bash_impl.py core/comp_ui.py core/completion.py core/dev.py core/error.py core/executor.py core/main_loop.py core/num.py core/process.py core/sh_init.py core/shell.py core/state.py core/util.py core/vm.py data_lang/j8.py data_lang/j8_lite.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/args.py frontend/flag_util.py frontend/lexer.py frontend/location.py frontend/parse_lib.py frontend/reader.py frontend/syntax_abbrev.py frontend/typed_args.py osh/arith_parse.py osh/bool_parse.py osh/braces.py osh/cmd_eval.py osh/cmd_parse.py osh/glob_.py osh/history.py osh/prompt.py osh/sh_expr_eval.py osh/split.py osh/string_ops.py osh/tdop.py osh/word_.py osh/word_compile.py osh/word_eval.py osh/word_parse.py pgen2/parse.py pylib/os_path.py tools/fmt.py tools/lint.py tools/ysh_ify.py ysh/expr_eval.py ysh/expr_parse.py ysh/expr_to_ast.py ysh/func_proc.py ysh/regex_translate.py ysh/val_ops.py mycpp pass: CONST mycpp pass: CONVERT mycpp pass: CONTROL FLOW mycpp pass: SOUFFLE data flow mycpp pass: DECL mycpp pass: IMPL WARNING: ysh.expr_parse._PushYshTokens() has 17 stack roots. Consider refactoring this function. WARNING: core.shell.Main() has 41 stack roots. Consider refactoring this function. mycpp DONE [69/71] cxx dbg '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-dbg/_gen/bin/oils_for_unix.mycpp.o [70/71] LINK cxx dbg '' _bin/cxx-dbg/bin/oils_for_unix.mycpp _build/obj/cxx-dbg/_gen/bin/oils_for_unix.mycpp-main.o _build/obj/cxx-dbg/_gen/bin/oils_for_unix.mycpp.o _build/obj/cxx-dbg/_gen/bin/text_files.o _build/obj/cxx-dbg/_gen/core/runtime.asdl.o _build/obj/cxx-dbg/_gen/core/value.asdl.o _build/obj/cxx-dbg/_gen/cpp/build_stamp.o _build/obj/cxx-dbg/cpp/core.o _build/obj/cxx-dbg/cpp/data_lang.o _build/obj/cxx-dbg/cpp/fanos.o _build/obj/cxx-dbg/cpp/fanos_shared.o _build/obj/cxx-dbg/cpp/frontend_flag_spec.o _build/obj/cxx-dbg/cpp/frontend_match.o _build/obj/cxx-dbg/cpp/frontend_pyreadline.o _build/obj/cxx-dbg/cpp/libc.o _build/obj/cxx-dbg/cpp/osh.o _build/obj/cxx-dbg/cpp/osh_tdop.o _build/obj/cxx-dbg/cpp/pgen2.o _build/obj/cxx-dbg/cpp/pylib.o _build/obj/cxx-dbg/cpp/stdlib.o _build/obj/cxx-dbg/_gen/data_lang/nil8.asdl.o _build/obj/cxx-dbg/_gen/display/pretty.asdl.o _build/obj/cxx-dbg/_gen/frontend/arg_types.o _build/obj/cxx-dbg/_gen/frontend/consts.o _build/obj/cxx-dbg/_gen/frontend/help_meta.o _build/obj/cxx-dbg/_gen/frontend/id_kind.asdl.o _build/obj/cxx-dbg/_gen/frontend/signal.o _build/obj/cxx-dbg/_gen/frontend/syntax.asdl.o _build/obj/cxx-dbg/mycpp/bump_leak_heap.o _build/obj/cxx-dbg/mycpp/gc_iolib.o _build/obj/cxx-dbg/mycpp/gc_mylib.o _build/obj/cxx-dbg/mycpp/gc_builtins.o _build/obj/cxx-dbg/mycpp/gc_mops.o _build/obj/cxx-dbg/mycpp/gc_str.o _build/obj/cxx-dbg/mycpp/hash.o _build/obj/cxx-dbg/mycpp/mark_sweep_heap.o _build/obj/cxx-dbg/_gen/osh/arith_parse.o _build/obj/cxx-dbg/_gen/ysh/grammar_tables.o [71/71] SYMLINK _bin/cxx-dbg/osh bin/oils_for_unix.mycpp '_bin/cxx-dbg/osh' -> 'bin/oils_for_unix.mycpp' run_snippet bash fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2274 2273 1 1 1 python2 2275 2274 1 1 1 time-helper 2276 2275 1 1 1 bash 2277 2276 1 1 1 bash 2278 2277 1 1 1 ps run_snippet bash fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2285 sh 2 1 1 1 2285 bash 15 2 1 1 2285 bash 1731 15 1 1 2285 python3 1732 1731 1 1 2285 time-helper 1733 1732 1 1 2285 bash 2273 1733 1 1 2285 bash 2281 2273 1 1 2285 python2 2282 2281 1 1 2285 time-helper 2283 2282 1 1 2285 bash 2284 2283 2284 1 2285 bash 2285 2284 2285 1 2285 ps run_snippet bash bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2288 2273 1 1 1 python2 2289 2288 1 1 1 time-helper 2290 2289 1 1 1 bash 2291 2290 1 1 1 bash 2292 2291 1 1 1 ps run_snippet bash bgproc yes [1] 2299 [1]+ Done ps -o $PS_COLS [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2298 sh 2 1 1 1 2298 bash 15 2 1 1 2298 bash 1731 15 1 1 2298 python3 1732 1731 1 1 2298 time-helper 1733 1732 1 1 2298 bash 2273 1733 1 1 2298 bash 2295 2273 1 1 2298 python2 2296 2295 1 1 2298 time-helper 2297 2296 1 1 2298 bash 2298 2297 2298 1 2298 bash 2299 2298 2299 1 2298 ps run_snippet bash fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2302 2273 1 1 1 python2 2303 2302 1 1 1 time-helper 2304 2303 1 1 1 bash 2305 2304 1 1 1 bash 2306 2305 1 1 1 ps 2307 2305 1 1 1 cat 2308 2305 1 1 1 cat2 run_snippet bash fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2315 sh 2 1 1 1 2315 bash 15 2 1 1 2315 bash 1731 15 1 1 2315 python3 1732 1731 1 1 2315 time-helper 1733 1732 1 1 2315 bash 2273 1733 1 1 2315 bash 2311 2273 1 1 2315 python2 2312 2311 1 1 2315 time-helper 2313 2312 1 1 2315 bash 2314 2313 2314 1 2315 bash 2315 2314 2315 1 2315 ps 2316 2314 2315 1 2315 cat 2317 2314 2315 1 2315 cat2 run_snippet bash fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2320 2273 1 1 1 python2 2321 2320 1 1 1 time-helper 2322 2321 1 1 1 bash 2323 2322 1 1 1 bash 2324 2323 1 1 1 ps 2325 2323 1 1 1 cat2 2326 2323 1 1 1 bash run_snippet bash fgpipe-lastpipe yes [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2333 sh 2 1 1 1 2333 bash 15 2 1 1 2333 bash 1731 15 1 1 2333 python3 1732 1731 1 1 2333 time-helper 1733 1732 1 1 2333 bash 2273 1733 1 1 2333 bash 2329 2273 1 1 2333 python2 2330 2329 1 1 2333 time-helper 2331 2330 1 1 2333 bash 2332 2331 2332 1 2333 bash 2333 2332 2333 1 2333 ps 2334 2332 2333 1 2333 cat2 2335 2332 2333 1 2333 bash run_snippet bash bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2338 2273 1 1 1 python2 2339 2338 1 1 1 time-helper 2340 2339 1 1 1 bash 2341 2340 1 1 1 bash 2342 2341 1 1 1 ps 2343 2341 1 1 1 cat 2344 2341 1 1 1 cat2 run_snippet bash bgpipe yes [1] 2353 [1]+ Done ps -o $PS_COLS | cat | _tmp/cat2 [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2350 sh 2 1 1 1 2350 bash 15 2 1 1 2350 bash 1731 15 1 1 2350 python3 1732 1731 1 1 2350 time-helper 1733 1732 1 1 2350 bash 2273 1733 1 1 2350 bash 2347 2273 1 1 2350 python2 2348 2347 1 1 2350 time-helper 2349 2348 1 1 2350 bash 2350 2349 2350 1 2350 bash 2351 2350 2351 1 2350 ps 2352 2350 2351 1 2350 cat 2353 2350 2351 1 2350 cat2 run_snippet bash bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2356 2273 1 1 1 python2 2357 2356 1 1 1 time-helper 2358 2357 1 1 1 bash 2359 2358 1 1 1 bash 2360 2359 1 1 1 ps 2361 2359 1 1 1 cat2 2362 2359 1 1 1 bash run_snippet bash bgpipe-lastpipe yes [1] 2371 [1]+ Done ps -o $PS_COLS | _tmp/cat2 | while read -r line; do echo "$line"; done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2368 sh 2 1 1 1 2368 bash 15 2 1 1 2368 bash 1731 15 1 1 2368 python3 1732 1731 1 1 2368 time-helper 1733 1732 1 1 2368 bash 2273 1733 1 1 2368 bash 2365 2273 1 1 2368 python2 2366 2365 1 1 2368 time-helper 2367 2366 1 1 2368 bash 2368 2367 2368 1 2368 bash 2369 2368 2369 1 2368 ps 2370 2368 2369 1 2368 cat2 2371 2368 2369 1 2368 bash run_snippet bash subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2374 2273 1 1 1 python2 2375 2374 1 1 1 time-helper 2376 2375 1 1 1 bash 2377 2376 1 1 1 bash 2378 2377 1 1 1 bash 2379 2378 1 1 1 ps ALIVE run_snippet bash subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2386 sh 2 1 1 1 2386 bash 15 2 1 1 2386 bash 1731 15 1 1 2386 python3 1732 1731 1 1 2386 time-helper 1733 1732 1 1 2386 bash 2273 1733 1 1 2386 bash 2382 2273 1 1 2386 python2 2383 2382 1 1 2386 time-helper 2384 2383 1 1 2386 bash 2385 2384 2385 1 2386 bash 2386 2385 2386 1 2386 bash 2387 2386 2386 1 2386 ps ALIVE run_snippet bash csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2390 2273 1 1 1 python2 2391 2390 1 1 1 time-helper 2392 2391 1 1 1 bash 2393 2392 1 1 1 bash 2394 2393 1 1 1 ps run_snippet bash csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2400 sh 2 1 1 1 2400 bash 15 2 1 1 2400 bash 1731 15 1 1 2400 python3 1732 1731 1 1 2400 time-helper 1733 1732 1 1 2400 bash 2273 1733 1 1 2400 bash 2397 2273 1 1 2400 python2 2398 2397 1 1 2400 time-helper 2399 2398 1 1 2400 bash 2400 2399 2400 1 2400 bash 2401 2400 2400 1 2400 ps run_snippet bash psub - missing expected subshell [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2404 2273 1 1 1 python2 2405 2404 1 1 1 time-helper 2406 2405 1 1 1 bash 2407 2406 1 1 1 bash 2408 2407 1 1 1 ps 2409 2407 1 1 1 cat run_snippet bash psub yes missing expected subshell [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2417 sh 2 1 1 1 2417 bash 15 2 1 1 2417 bash 1731 15 1 1 2417 python3 1732 1731 1 1 2417 time-helper 1733 1732 1 1 2417 bash 2273 1733 1 1 2417 bash 2412 2273 1 1 2417 python2 2413 2412 1 1 2417 time-helper 2414 2413 1 1 2417 bash 2415 2414 2415 1 2417 bash 2416 2415 2415 1 2417 ps 2417 2415 2417 1 2417 cat run_snippet dash fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2420 2273 1 1 1 python2 2421 2420 1 1 1 time-helper 2422 2421 1 1 1 bash 2423 2422 1 1 1 dash 2424 2423 1 1 1 ps run_snippet dash fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2431 sh 2 1 1 1 2431 bash 15 2 1 1 2431 bash 1731 15 1 1 2431 python3 1732 1731 1 1 2431 time-helper 1733 1732 1 1 2431 bash 2273 1733 1 1 2431 bash 2427 2273 1 1 2431 python2 2428 2427 1 1 2431 time-helper 2429 2428 1 1 2431 bash 2430 2429 2430 1 2431 dash 2431 2430 2431 1 2431 ps run_snippet dash bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2434 2273 1 1 1 python2 2435 2434 1 1 1 time-helper 2436 2435 1 1 1 bash 2437 2436 1 1 1 dash 2438 2437 1 1 1 ps run_snippet dash bgproc yes [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2444 sh 2 1 1 1 2444 bash 15 2 1 1 2444 bash 1731 15 1 1 2444 python3 1732 1731 1 1 2444 time-helper 1733 1732 1 1 2444 bash 2273 1733 1 1 2444 bash 2441 2273 1 1 2444 python2 2442 2441 1 1 2444 time-helper 2443 2442 1 1 2444 bash 2444 2443 2444 1 2444 dash 2445 2444 2445 1 2444 ps run_snippet dash fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2448 2273 1 1 1 python2 2449 2448 1 1 1 time-helper 2450 2449 1 1 1 bash 2451 2450 1 1 1 dash 2452 2451 1 1 1 ps 2453 2451 1 1 1 cat 2454 2451 1 1 1 cat2 run_snippet dash fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2461 sh 2 1 1 1 2461 bash 15 2 1 1 2461 bash 1731 15 1 1 2461 python3 1732 1731 1 1 2461 time-helper 1733 1732 1 1 2461 bash 2273 1733 1 1 2461 bash 2457 2273 1 1 2461 python2 2458 2457 1 1 2461 time-helper 2459 2458 1 1 2461 bash 2460 2459 2460 1 2461 dash 2461 2460 2461 1 2461 ps 2462 2460 2461 1 2461 cat 2463 2460 2461 1 2461 cat2 run_snippet dash fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2466 2273 1 1 1 python2 2467 2466 1 1 1 time-helper 2468 2467 1 1 1 bash 2469 2468 1 1 1 dash 2470 2469 1 1 1 ps 2471 2469 1 1 1 cat2 2472 2469 1 1 1 dash run_snippet dash fgpipe-lastpipe yes [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2479 sh 2 1 1 1 2479 bash 15 2 1 1 2479 bash 1731 15 1 1 2479 python3 1732 1731 1 1 2479 time-helper 1733 1732 1 1 2479 bash 2273 1733 1 1 2479 bash 2475 2273 1 1 2479 python2 2476 2475 1 1 2479 time-helper 2477 2476 1 1 2479 bash 2478 2477 2478 1 2479 dash 2479 2478 2479 1 2479 ps 2480 2478 2479 1 2479 cat2 2481 2478 2479 1 2479 dash run_snippet dash bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2484 2273 1 1 1 python2 2485 2484 1 1 1 time-helper 2486 2485 1 1 1 bash 2487 2486 1 1 1 dash 2488 2487 1 1 1 ps 2489 2487 1 1 1 cat 2490 2487 1 1 1 cat2 run_snippet dash bgpipe yes [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2496 sh 2 1 1 1 2496 bash 15 2 1 1 2496 bash 1731 15 1 1 2496 python3 1732 1731 1 1 2496 time-helper 1733 1732 1 1 2496 bash 2273 1733 1 1 2496 bash 2493 2273 1 1 2496 python2 2494 2493 1 1 2496 time-helper 2495 2494 1 1 2496 bash 2496 2495 2496 1 2496 dash 2497 2496 2497 1 2496 ps 2498 2496 2497 1 2496 cat 2499 2496 2497 1 2496 cat2 run_snippet dash bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2502 2273 1 1 1 python2 2503 2502 1 1 1 time-helper 2504 2503 1 1 1 bash 2505 2504 1 1 1 dash 2506 2505 1 1 1 ps 2507 2505 1 1 1 cat2 2508 2505 1 1 1 dash run_snippet dash bgpipe-lastpipe yes [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2514 sh 2 1 1 1 2514 bash 15 2 1 1 2514 bash 1731 15 1 1 2514 python3 1732 1731 1 1 2514 time-helper 1733 1732 1 1 2514 bash 2273 1733 1 1 2514 bash 2511 2273 1 1 2514 python2 2512 2511 1 1 2514 time-helper 2513 2512 1 1 2514 bash 2514 2513 2514 1 2514 dash 2515 2514 2515 1 2514 ps 2516 2514 2515 1 2514 cat2 2517 2514 2515 1 2514 dash run_snippet dash subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2520 2273 1 1 1 python2 2521 2520 1 1 1 time-helper 2522 2521 1 1 1 bash 2523 2522 1 1 1 dash 2524 2523 1 1 1 dash 2525 2524 1 1 1 ps ALIVE run_snippet dash subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2532 sh 2 1 1 1 2532 bash 15 2 1 1 2532 bash 1731 15 1 1 2532 python3 1732 1731 1 1 2532 time-helper 1733 1732 1 1 2532 bash 2273 1733 1 1 2532 bash 2528 2273 1 1 2532 python2 2529 2528 1 1 2532 time-helper 2530 2529 1 1 2532 bash 2531 2530 2531 1 2532 dash 2532 2531 2532 1 2532 dash 2533 2532 2532 1 2532 ps ALIVE run_snippet dash csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2536 2273 1 1 1 python2 2537 2536 1 1 1 time-helper 2538 2537 1 1 1 bash 2539 2538 1 1 1 dash 2540 2539 1 1 1 ps run_snippet dash csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2546 sh 2 1 1 1 2546 bash 15 2 1 1 2546 bash 1731 15 1 1 2546 python3 1732 1731 1 1 2546 time-helper 1733 1732 1 1 2546 bash 2273 1733 1 1 2546 bash 2543 2273 1 1 2546 python2 2544 2543 1 1 2546 time-helper 2545 2544 1 1 2546 bash 2546 2545 2546 1 2546 dash 2547 2546 2546 1 2546 ps run_snippet dash psub - malformed ps output run_snippet dash psub yes malformed ps output run_snippet mksh fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2562 2273 1 1 1 python2 2563 2562 1 1 1 time-helper 2564 2563 1 1 1 bash 2565 2564 1 1 1 mksh 2566 2565 1 1 1 ps run_snippet mksh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2573 sh 2 1 1 1 2573 bash 15 2 1 1 2573 bash 1731 15 1 1 2573 python3 1732 1731 1 1 2573 time-helper 1733 1732 1 1 2573 bash 2273 1733 1 1 2573 bash 2569 2273 1 1 2573 python2 2570 2569 1 1 2573 time-helper 2571 2570 1 1 2573 bash 2572 2571 2572 1 2573 mksh 2573 2572 2573 1 2573 ps run_snippet mksh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2576 2273 1 1 1 python2 2577 2576 1 1 1 time-helper 2578 2577 1 1 1 bash 2579 2578 1 1 1 mksh 2580 2579 1 1 1 ps run_snippet mksh bgproc yes [1] 2587 [1] + Done \ps -o $PS_COLS [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2586 sh 2 1 1 1 2586 bash 15 2 1 1 2586 bash 1731 15 1 1 2586 python3 1732 1731 1 1 2586 time-helper 1733 1732 1 1 2586 bash 2273 1733 1 1 2586 bash 2583 2273 1 1 2586 python2 2584 2583 1 1 2586 time-helper 2585 2584 1 1 2586 bash 2586 2585 2586 1 2586 mksh 2587 2586 2587 1 2586 ps run_snippet mksh fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2590 2273 1 1 1 python2 2591 2590 1 1 1 time-helper 2592 2591 1 1 1 bash 2593 2592 1 1 1 mksh 2594 2593 1 1 1 ps 2595 2593 1 1 1 cat 2596 2593 1 1 1 cat2 run_snippet mksh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2603 sh 2 1 1 1 2603 bash 15 2 1 1 2603 bash 1731 15 1 1 2603 python3 1732 1731 1 1 2603 time-helper 1733 1732 1 1 2603 bash 2273 1733 1 1 2603 bash 2599 2273 1 1 2603 python2 2600 2599 1 1 2603 time-helper 2601 2600 1 1 2603 bash 2602 2601 2602 1 2603 mksh 2603 2602 2603 1 2603 ps 2604 2602 2603 1 2603 cat 2605 2602 2603 1 2603 cat2 run_snippet mksh fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2608 2273 1 1 1 python2 2609 2608 1 1 1 time-helper 2610 2609 1 1 1 bash 2611 2610 1 1 1 mksh 2612 2611 1 1 1 ps 2613 2611 1 1 1 cat2 2614 2611 1 1 1 mksh run_snippet mksh fgpipe-lastpipe yes [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2621 sh 2 1 1 1 2621 bash 15 2 1 1 2621 bash 1731 15 1 1 2621 python3 1732 1731 1 1 2621 time-helper 1733 1732 1 1 2621 bash 2273 1733 1 1 2621 bash 2617 2273 1 1 2621 python2 2618 2617 1 1 2621 time-helper 2619 2618 1 1 2621 bash 2620 2619 2620 1 2621 mksh 2621 2620 2621 1 2621 ps 2622 2620 2621 1 2621 cat2 2623 2620 2621 1 2621 mksh run_snippet mksh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2626 2273 1 1 1 python2 2627 2626 1 1 1 time-helper 2628 2627 1 1 1 bash 2629 2628 1 1 1 mksh 2630 2629 1 1 1 ps 2631 2629 1 1 1 cat 2632 2629 1 1 1 cat2 run_snippet mksh bgpipe yes [1] 2639 2640 2641 [1] + Done \ps -o $PS_COLS | \cat | _tmp/cat2 [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2638 sh 2 1 1 1 2638 bash 15 2 1 1 2638 bash 1731 15 1 1 2638 python3 1732 1731 1 1 2638 time-helper 1733 1732 1 1 2638 bash 2273 1733 1 1 2638 bash 2635 2273 1 1 2638 python2 2636 2635 1 1 2638 time-helper 2637 2636 1 1 2638 bash 2638 2637 2638 1 2638 mksh 2639 2638 2639 1 2638 ps 2640 2638 2639 1 2638 cat 2641 2638 2639 1 2638 cat2 run_snippet mksh bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2644 2273 1 1 1 python2 2645 2644 1 1 1 time-helper 2646 2645 1 1 1 bash 2647 2646 1 1 1 mksh 2648 2647 1 1 1 ps 2649 2647 1 1 1 cat2 2650 2647 1 1 1 mksh run_snippet mksh bgpipe-lastpipe yes [1] 2657 2658 2659 [1] + Done \ps -o $PS_COLS | _tmp/cat2 | while \read -r line ; do \echo "$line" ; done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2656 sh 2 1 1 1 2656 bash 15 2 1 1 2656 bash 1731 15 1 1 2656 python3 1732 1731 1 1 2656 time-helper 1733 1732 1 1 2656 bash 2273 1733 1 1 2656 bash 2653 2273 1 1 2656 python2 2654 2653 1 1 2656 time-helper 2655 2654 1 1 2656 bash 2656 2655 2656 1 2656 mksh 2657 2656 2657 1 2656 ps 2658 2656 2657 1 2656 cat2 2659 2656 2657 1 2656 mksh run_snippet mksh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2662 2273 1 1 1 python2 2663 2662 1 1 1 time-helper 2664 2663 1 1 1 bash 2665 2664 1 1 1 mksh 2666 2665 1 1 1 mksh 2667 2666 1 1 1 ps ALIVE run_snippet mksh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2674 sh 2 1 1 1 2674 bash 15 2 1 1 2674 bash 1731 15 1 1 2674 python3 1732 1731 1 1 2674 time-helper 1733 1732 1 1 2674 bash 2273 1733 1 1 2674 bash 2670 2273 1 1 2674 python2 2671 2670 1 1 2674 time-helper 2672 2671 1 1 2674 bash 2673 2672 2673 1 2674 mksh 2674 2673 2674 1 2674 mksh 2675 2674 2674 1 2674 ps ALIVE run_snippet mksh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2678 2273 1 1 1 python2 2679 2678 1 1 1 time-helper 2680 2679 1 1 1 bash 2681 2680 1 1 1 mksh 2682 2681 1 1 1 ps run_snippet mksh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2688 sh 2 1 1 1 2688 bash 15 2 1 1 2688 bash 1731 15 1 1 2688 python3 1732 1731 1 1 2688 time-helper 1733 1732 1 1 2688 bash 2273 1733 1 1 2688 bash 2685 2273 1 1 2688 python2 2686 2685 1 1 2688 time-helper 2687 2686 1 1 2688 bash 2688 2687 2688 1 2688 mksh 2689 2688 2688 1 2688 ps run_snippet mksh psub - malformed ps output run_snippet mksh psub yes malformed ps output run_snippet zsh fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2704 2273 1 1 1 python2 2705 2704 1 1 1 time-helper 2706 2705 1 1 1 bash 2707 2706 1 1 1 zsh 2708 2707 1 1 1 ps run_snippet zsh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2716 sh 2 1 1 1 2716 bash 15 2 1 1 2716 bash 1731 15 1 1 2716 python3 1732 1731 1 1 2716 time-helper 1733 1732 1 1 2716 bash 2273 1733 1 1 2716 bash 2711 2273 1 1 2716 python2 2712 2711 1 1 2716 time-helper 2713 2712 1 1 2716 bash 2714 2713 2714 1 2716 zsh 2716 2714 2716 1 2716 ps run_snippet zsh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2719 2273 1 1 1 python2 2720 2719 1 1 1 time-helper 2721 2720 1 1 1 bash 2722 2721 1 1 1 zsh 2723 2722 1 1 1 ps run_snippet zsh bgproc yes [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2729 sh 2 1 1 1 2729 bash 15 2 1 1 2729 bash 1731 15 1 1 2729 python3 1732 1731 1 1 2729 time-helper 1733 1732 1 1 2729 bash 2273 1733 1 1 2729 bash 2726 2273 1 1 2729 python2 2727 2726 1 1 2729 time-helper 2728 2727 1 1 2729 bash 2729 2728 2729 1 2729 zsh 2731 2729 2731 1 2729 ps run_snippet zsh fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2734 2273 1 1 1 python2 2735 2734 1 1 1 time-helper 2736 2735 1 1 1 bash 2737 2736 1 1 1 zsh 2738 2737 1 1 1 ps 2739 2737 1 1 1 cat 2740 2737 1 1 1 cat2 run_snippet zsh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2748 sh 2 1 1 1 2748 bash 15 2 1 1 2748 bash 1731 15 1 1 2748 python3 1732 1731 1 1 2748 time-helper 1733 1732 1 1 2748 bash 2273 1733 1 1 2748 bash 2743 2273 1 1 2748 python2 2744 2743 1 1 2748 time-helper 2745 2744 1 1 2748 bash 2746 2745 2746 1 2748 zsh 2748 2746 2748 1 2748 ps 2749 2746 2748 1 2748 cat 2750 2746 2748 1 2748 cat2 run_snippet zsh fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2753 2273 1 1 1 python2 2754 2753 1 1 1 time-helper 2755 2754 1 1 1 bash 2756 2755 1 1 1 zsh 2757 2756 1 1 1 ps 2758 2756 1 1 1 cat2 run_snippet zsh fgpipe-lastpipe yes [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2766 sh 2 1 1 1 2766 bash 15 2 1 1 2766 bash 1731 15 1 1 2766 python3 1732 1731 1 1 2766 time-helper 1733 1732 1 1 2766 bash 2273 1733 1 1 2766 bash 2761 2273 1 1 2766 python2 2762 2761 1 1 2766 time-helper 2763 2762 1 1 2766 bash 2764 2763 2764 1 2766 zsh 2766 2764 2766 1 2766 ps 2767 2764 2766 1 2766 cat2 run_snippet zsh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2770 2273 1 1 1 python2 2771 2770 1 1 1 time-helper 2772 2771 1 1 1 bash 2773 2772 1 1 1 zsh 2774 2773 1 1 1 ps 2775 2773 1 1 1 cat 2776 2773 1 1 1 cat2 run_snippet zsh bgpipe yes [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2782 sh 2 1 1 1 2782 bash 15 2 1 1 2782 bash 1731 15 1 1 2782 python3 1732 1731 1 1 2782 time-helper 1733 1732 1 1 2782 bash 2273 1733 1 1 2782 bash 2779 2273 1 1 2782 python2 2780 2779 1 1 2782 time-helper 2781 2780 1 1 2782 bash 2782 2781 2782 1 2782 zsh 2784 2782 2784 1 2782 ps 2785 2782 2784 1 2782 cat 2786 2782 2784 1 2782 cat2 run_snippet zsh bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2789 2273 1 1 1 python2 2790 2789 1 1 1 time-helper 2791 2790 1 1 1 bash 2792 2791 1 1 1 zsh 2793 2792 1 1 1 ps 2794 2792 1 1 1 cat2 2795 2792 1 1 1 zsh run_snippet zsh bgpipe-lastpipe yes [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2801 sh 2 1 1 1 2801 bash 15 2 1 1 2801 bash 1731 15 1 1 2801 python3 1732 1731 1 1 2801 time-helper 1733 1732 1 1 2801 bash 2273 1733 1 1 2801 bash 2798 2273 1 1 2801 python2 2799 2798 1 1 2801 time-helper 2800 2799 1 1 2801 bash 2801 2800 2801 1 2801 zsh 2803 2801 2803 1 2801 ps 2804 2801 2803 1 2801 cat2 2805 2801 2803 1 2801 zsh run_snippet zsh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2808 2273 1 1 1 python2 2809 2808 1 1 1 time-helper 2810 2809 1 1 1 bash 2811 2810 1 1 1 zsh 2812 2811 1 1 1 zsh 2813 2812 1 1 1 ps ALIVE run_snippet zsh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2821 sh 2 1 1 1 2821 bash 15 2 1 1 2821 bash 1731 15 1 1 2821 python3 1732 1731 1 1 2821 time-helper 1733 1732 1 1 2821 bash 2273 1733 1 1 2821 bash 2816 2273 1 1 2821 python2 2817 2816 1 1 2821 time-helper 2818 2817 1 1 2821 bash 2819 2818 2819 1 2821 zsh 2821 2819 2821 1 2821 zsh 2822 2821 2821 1 2821 ps ALIVE run_snippet zsh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2825 2273 1 1 1 python2 2826 2825 1 1 1 time-helper 2827 2826 1 1 1 bash 2828 2827 1 1 1 zsh 2829 2828 1 1 1 ps run_snippet zsh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2835 sh 2 1 1 1 2835 bash 15 2 1 1 2835 bash 1731 15 1 1 2835 python3 1732 1731 1 1 2835 time-helper 1733 1732 1 1 2835 bash 2273 1733 1 1 2835 bash 2832 2273 1 1 2835 python2 2833 2832 1 1 2835 time-helper 2834 2833 1 1 2835 bash 2835 2834 2835 1 2835 zsh 2837 2835 2835 1 2835 ps run_snippet zsh psub - [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2840 2273 1 1 1 python2 2841 2840 1 1 1 time-helper 2842 2841 1 1 1 bash 2843 2842 1 1 1 zsh 2844 2843 1 1 1 ps 2845 2843 1 1 1 cat run_snippet zsh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2854 sh 2 1 1 1 2854 bash 15 2 1 1 2854 bash 1731 15 1 1 2854 python3 1732 1731 1 1 2854 time-helper 1733 1732 1 1 2854 bash 2273 1733 1 1 2854 bash 2848 2273 1 1 2854 python2 2849 2848 1 1 2854 time-helper 2850 2849 1 1 2854 bash 2851 2850 2851 1 2854 zsh 2853 2851 2853 1 2854 ps 2854 2851 2854 1 2854 cat run_snippet bin/osh fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2857 2273 1 1 1 python2 2858 2857 1 1 1 time-helper 2859 2858 1 1 1 bash 2860 2859 1 1 1 python2 2863 2860 1 1 1 ps run_snippet bin/osh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2872 sh 2 1 1 1 2872 bash 15 2 1 1 2872 bash 1731 15 1 1 2872 python3 1732 1731 1 1 2872 time-helper 1733 1732 1 1 2872 bash 2273 1733 1 1 2872 bash 2866 2273 1 1 2872 python2 2867 2866 1 1 2872 time-helper 2868 2867 1 1 2872 bash 2869 2868 2869 1 2872 python2 2872 2869 2872 1 2872 ps run_snippet bin/osh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2875 2273 1 1 1 python2 2876 2875 1 1 1 time-helper 2877 2876 1 1 1 bash 2878 2877 1 1 1 python2 2881 2878 1 1 1 ps run_snippet bin/osh bgproc yes [%1] PID 2890 Started [%1] PID 2890 Done [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2887 sh 2 1 1 1 2887 bash 15 2 1 1 2887 bash 1731 15 1 1 2887 python3 1732 1731 1 1 2887 time-helper 1733 1732 1 1 2887 bash 2273 1733 1 1 2887 bash 2884 2273 1 1 2887 python2 2885 2884 1 1 2887 time-helper 2886 2885 1 1 2887 bash 2887 2886 2887 1 2887 python2 2890 2887 2890 1 2887 ps run_snippet bin/osh fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2893 2273 1 1 1 python2 2894 2893 1 1 1 time-helper 2895 2894 1 1 1 bash 2896 2895 1 1 1 python2 2899 2896 1 1 1 ps 2900 2896 1 1 1 python2 2901 2900 1 1 1 python2 2902 2896 1 1 1 cat2 run_snippet bin/osh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2911 sh 2 1 1 1 2911 bash 15 2 1 1 2911 bash 1731 15 1 1 2911 python3 1732 1731 1 1 2911 time-helper 1733 1732 1 1 2911 bash 2273 1733 1 1 2911 bash 2905 2273 1 1 2911 python2 2906 2905 1 1 2911 time-helper 2907 2906 1 1 2911 bash 2908 2907 2908 1 2911 python2 2911 2908 2911 1 2911 ps 2912 2908 2911 1 2911 cat 2913 2908 2911 1 2911 cat2 run_snippet bin/osh fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2916 2273 1 1 1 python2 2917 2916 1 1 1 time-helper 2918 2917 1 1 1 bash 2919 2918 1 1 1 python2 2922 2919 1 1 1 ps 2923 2919 1 1 1 cat2 run_snippet bin/osh fgpipe-lastpipe yes [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2932 sh 2 1 1 1 2932 bash 15 2 1 1 2932 bash 1731 15 1 1 2932 python3 1732 1731 1 1 2932 time-helper 1733 1732 1 1 2932 bash 2273 1733 1 1 2932 bash 2926 2273 1 1 2932 python2 2927 2926 1 1 2932 time-helper 2928 2927 1 1 2932 bash 2929 2928 2929 1 2932 python2 2932 2929 2932 1 2932 ps 2933 2929 2932 1 2932 cat2 run_snippet bin/osh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2936 2273 1 1 1 python2 2937 2936 1 1 1 time-helper 2938 2937 1 1 1 bash 2939 2938 1 1 1 python2 2942 2939 1 1 1 ps 2943 2939 1 1 1 python2 2944 2939 1 1 1 cat2 2945 2943 1 1 1 python2 run_snippet bin/osh bgpipe yes [%1] PID 2956 Started [%1] PGID 2954 Done [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2951 sh 2 1 1 1 2951 bash 15 2 1 1 2951 bash 1731 15 1 1 2951 python3 1732 1731 1 1 2951 time-helper 1733 1732 1 1 2951 bash 2273 1733 1 1 2951 bash 2948 2273 1 1 2951 python2 2949 2948 1 1 2951 time-helper 2950 2949 1 1 2951 bash 2951 2950 2951 1 2951 python2 2954 2951 2954 1 2951 ps 2955 2951 2954 1 2951 cat 2956 2951 2954 1 2951 cat2 run_snippet bin/osh bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2959 2273 1 1 1 python2 2960 2959 1 1 1 time-helper 2961 2960 1 1 1 bash 2962 2961 1 1 1 python2 2965 2962 1 1 1 ps 2966 2962 1 1 1 cat2 2967 2962 1 1 1 python2 run_snippet bin/osh bgpipe-lastpipe yes [%1] PID 2978 Started [%1] PGID 2976 Done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2973 sh 2 1 1 1 2973 bash 15 2 1 1 2973 bash 1731 15 1 1 2973 python3 1732 1731 1 1 2973 time-helper 1733 1732 1 1 2973 bash 2273 1733 1 1 2973 bash 2970 2273 1 1 2973 python2 2971 2970 1 1 2973 time-helper 2972 2971 1 1 2973 bash 2973 2972 2973 1 2973 python2 2976 2973 2976 1 2973 ps 2977 2973 2976 1 2973 cat2 2978 2973 2976 1 2973 python2 run_snippet bin/osh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 2981 2273 1 1 1 python2 2982 2981 1 1 1 time-helper 2983 2982 1 1 1 bash 2984 2983 1 1 1 python2 2987 2984 1 1 1 python2 2988 2987 1 1 1 ps ALIVE run_snippet bin/osh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2997 sh 2 1 1 1 2997 bash 15 2 1 1 2997 bash 1731 15 1 1 2997 python3 1732 1731 1 1 2997 time-helper 1733 1732 1 1 2997 bash 2273 1733 1 1 2997 bash 2991 2273 1 1 2997 python2 2992 2991 1 1 2997 time-helper 2993 2992 1 1 2997 bash 2994 2993 2994 1 2997 python2 2997 2994 2997 1 2997 python2 2998 2997 2997 1 2997 ps ALIVE run_snippet bin/osh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3001 2273 1 1 1 python2 3002 3001 1 1 1 time-helper 3003 3002 1 1 1 bash 3004 3003 1 1 1 python2 3007 3004 1 1 1 ps run_snippet bin/osh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3013 sh 2 1 1 1 3013 bash 15 2 1 1 3013 bash 1731 15 1 1 3013 python3 1732 1731 1 1 3013 time-helper 1733 1732 1 1 3013 bash 2273 1733 1 1 3013 bash 3010 2273 1 1 3013 python2 3011 3010 1 1 3013 time-helper 3012 3011 1 1 3013 bash 3013 3012 3013 1 3013 python2 3016 3013 3013 1 3013 ps run_snippet bin/osh psub - [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3019 2273 1 1 1 python2 3020 3019 1 1 1 time-helper 3021 3020 1 1 1 bash 3022 3021 1 1 1 python2 3025 3022 1 1 1 ps 3026 3022 1 1 1 python2 run_snippet bin/osh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3036 sh 2 1 1 1 3036 bash 15 2 1 1 3036 bash 1731 15 1 1 3036 python3 1732 1731 1 1 3036 time-helper 1733 1732 1 1 3036 bash 2273 1733 1 1 3036 bash 3029 2273 1 1 3036 python2 3030 3029 1 1 3036 time-helper 3031 3030 1 1 3036 bash 3032 3031 3032 1 3036 python2 3035 3032 3035 1 3036 ps 3036 3032 3036 1 3036 cat run_snippet _bin/cxx-dbg/osh fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3039 2273 1 1 1 python2 3040 3039 1 1 1 time-helper 3041 3040 1 1 1 bash 3042 3041 1 1 1 osh 3043 3042 1 1 1 ps run_snippet _bin/cxx-dbg/osh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3050 sh 2 1 1 1 3050 bash 15 2 1 1 3050 bash 1731 15 1 1 3050 python3 1732 1731 1 1 3050 time-helper 1733 1732 1 1 3050 bash 2273 1733 1 1 3050 bash 3046 2273 1 1 3050 python2 3047 3046 1 1 3050 time-helper 3048 3047 1 1 3050 bash 3049 3048 3049 1 3050 osh 3050 3049 3050 1 3050 ps run_snippet _bin/cxx-dbg/osh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3053 2273 1 1 1 python2 3054 3053 1 1 1 time-helper 3055 3054 1 1 1 bash 3056 3055 1 1 1 osh 3057 3056 1 1 1 ps run_snippet _bin/cxx-dbg/osh bgproc yes [%1] PID 3064 Started [%1] PID 3064 Done [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3063 sh 2 1 1 1 3063 bash 15 2 1 1 3063 bash 1731 15 1 1 3063 python3 1732 1731 1 1 3063 time-helper 1733 1732 1 1 3063 bash 2273 1733 1 1 3063 bash 3060 2273 1 1 3063 python2 3061 3060 1 1 3063 time-helper 3062 3061 1 1 3063 bash 3063 3062 3063 1 3063 osh 3064 3063 3064 1 3063 ps run_snippet _bin/cxx-dbg/osh fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3067 2273 1 1 1 python2 3068 3067 1 1 1 time-helper 3069 3068 1 1 1 bash 3070 3069 1 1 1 osh 3071 3070 1 1 1 ps 3072 3070 1 1 1 osh 3073 3070 1 1 1 cat2 3074 3072 1 1 1 osh run_snippet _bin/cxx-dbg/osh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3081 sh 2 1 1 1 3081 bash 15 2 1 1 3081 bash 1731 15 1 1 3081 python3 1732 1731 1 1 3081 time-helper 1733 1732 1 1 3081 bash 2273 1733 1 1 3081 bash 3077 2273 1 1 3081 python2 3078 3077 1 1 3081 time-helper 3079 3078 1 1 3081 bash 3080 3079 3080 1 3081 osh 3081 3080 3081 1 3081 ps 3082 3080 3081 1 3081 cat 3083 3080 3081 1 3081 cat2 run_snippet _bin/cxx-dbg/osh fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3086 2273 1 1 1 python2 3087 3086 1 1 1 time-helper 3088 3087 1 1 1 bash 3089 3088 1 1 1 osh 3090 3089 1 1 1 ps 3091 3089 1 1 1 cat2 run_snippet _bin/cxx-dbg/osh fgpipe-lastpipe yes [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3098 sh 2 1 1 1 3098 bash 15 2 1 1 3098 bash 1731 15 1 1 3098 python3 1732 1731 1 1 3098 time-helper 1733 1732 1 1 3098 bash 2273 1733 1 1 3098 bash 3094 2273 1 1 3098 python2 3095 3094 1 1 3098 time-helper 3096 3095 1 1 3098 bash 3097 3096 3097 1 3098 osh 3098 3097 3098 1 3098 ps 3099 3097 3098 1 3098 cat2 run_snippet _bin/cxx-dbg/osh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3102 2273 1 1 1 python2 3103 3102 1 1 1 time-helper 3104 3103 1 1 1 bash 3105 3104 1 1 1 osh 3106 3105 1 1 1 ps 3107 3105 1 1 1 osh 3108 3105 1 1 1 cat2 3109 3107 1 1 1 osh run_snippet _bin/cxx-dbg/osh bgpipe yes [%1] PID 3118 Started [%1] PGID 3116 Done [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3115 sh 2 1 1 1 3115 bash 15 2 1 1 3115 bash 1731 15 1 1 3115 python3 1732 1731 1 1 3115 time-helper 1733 1732 1 1 3115 bash 2273 1733 1 1 3115 bash 3112 2273 1 1 3115 python2 3113 3112 1 1 3115 time-helper 3114 3113 1 1 3115 bash 3115 3114 3115 1 3115 osh 3116 3115 3116 1 3115 ps 3117 3115 3116 1 3115 cat 3118 3115 3116 1 3115 cat2 run_snippet _bin/cxx-dbg/osh bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3121 2273 1 1 1 python2 3122 3121 1 1 1 time-helper 3123 3122 1 1 1 bash 3124 3123 1 1 1 osh 3125 3124 1 1 1 ps 3126 3124 1 1 1 cat2 3127 3124 1 1 1 osh run_snippet _bin/cxx-dbg/osh bgpipe-lastpipe yes [%1] PID 3136 Started [%1] PGID 3134 Done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3133 sh 2 1 1 1 3133 bash 15 2 1 1 3133 bash 1731 15 1 1 3133 python3 1732 1731 1 1 3133 time-helper 1733 1732 1 1 3133 bash 2273 1733 1 1 3133 bash 3130 2273 1 1 3133 python2 3131 3130 1 1 3133 time-helper 3132 3131 1 1 3133 bash 3133 3132 3133 1 3133 osh 3134 3133 3134 1 3133 ps 3135 3133 3134 1 3133 cat2 3136 3133 3134 1 3133 osh run_snippet _bin/cxx-dbg/osh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3139 2273 1 1 1 python2 3140 3139 1 1 1 time-helper 3141 3140 1 1 1 bash 3142 3141 1 1 1 osh 3143 3142 1 1 1 osh 3144 3143 1 1 1 ps ALIVE run_snippet _bin/cxx-dbg/osh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3151 sh 2 1 1 1 3151 bash 15 2 1 1 3151 bash 1731 15 1 1 3151 python3 1732 1731 1 1 3151 time-helper 1733 1732 1 1 3151 bash 2273 1733 1 1 3151 bash 3147 2273 1 1 3151 python2 3148 3147 1 1 3151 time-helper 3149 3148 1 1 3151 bash 3150 3149 3150 1 3151 osh 3151 3150 3151 1 3151 osh 3152 3151 3151 1 3151 ps ALIVE run_snippet _bin/cxx-dbg/osh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3155 2273 1 1 1 python2 3156 3155 1 1 1 time-helper 3157 3156 1 1 1 bash 3158 3157 1 1 1 osh 3159 3158 1 1 1 ps run_snippet _bin/cxx-dbg/osh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3165 sh 2 1 1 1 3165 bash 15 2 1 1 3165 bash 1731 15 1 1 3165 python3 1732 1731 1 1 3165 time-helper 1733 1732 1 1 3165 bash 2273 1733 1 1 3165 bash 3162 2273 1 1 3165 python2 3163 3162 1 1 3165 time-helper 3164 3163 1 1 3165 bash 3165 3164 3165 1 3165 osh 3166 3165 3165 1 3165 ps run_snippet _bin/cxx-dbg/osh psub - [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 2 1 1 1 1 bash 15 2 1 1 1 bash 1731 15 1 1 1 python3 1732 1731 1 1 1 time-helper 1733 1732 1 1 1 bash 2273 1733 1 1 1 bash 3169 2273 1 1 1 python2 3170 3169 1 1 1 time-helper 3171 3170 1 1 1 bash 3172 3171 1 1 1 osh 3173 3172 1 1 1 ps 3174 3172 1 1 1 osh run_snippet _bin/cxx-dbg/osh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3182 sh 2 1 1 1 3182 bash 15 2 1 1 3182 bash 1731 15 1 1 3182 python3 1732 1731 1 1 3182 time-helper 1733 1732 1 1 3182 bash 2273 1733 1 1 3182 bash 3177 2273 1 1 3182 python2 3178 3177 1 1 3182 time-helper 3179 3178 1 1 3182 bash 3180 3179 3180 1 3182 osh 3181 3180 3181 1 3182 ps 3182 3180 3182 1 3182 cat Wrote _tmp/process-table/index.html