'_tmp/cat2' -> '/usr/bin/cat' [1/71] write-main _gen/bin/oils_for_unix.mycpp-main.cc oils_for_unix [2/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 [3/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 [4/71] make-shwrap py _bin/shwrap/optview_gen core/optview_gen.py frontend/option_def.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] asdl_main cpp --no-pretty-print-methods asdl/hnode.asdl _gen/asdl/hnode.asdl _gen/asdl/hnode.asdl_debug.py [8/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 [9/71] optview_gen > _gen/core/optview.h [10/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 [11/71] asdl_main cpp core/runtime.asdl _gen/core/runtime.asdl _gen/core/runtime.asdl_debug.py [12/71] asdl_main cpp core/value.asdl _gen/core/value.asdl _gen/core/value.asdl_debug.py [13/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 [14/71] make-shwrap py _bin/shwrap/option_gen frontend/option_gen.py asdl/ast.py frontend/builtin_def.py frontend/option_def.py [15/71] make-shwrap py _bin/shwrap/signal_gen frontend/signal_gen.py frontend/signal_def.py [16/71] asdl_main cpp data_lang/nil8.asdl _gen/data_lang/nil8.asdl _gen/data_lang/nil8.asdl_debug.py [17/71] asdl_main cpp display/pretty.asdl _gen/display/pretty.asdl _gen/display/pretty.asdl_debug.py [18/71] flag_gen cpp _gen/frontend/arg_types [19/71] consts_gen cpp-consts _gen/frontend/consts [20/71] signal_gen cpp _gen/frontend/signal [21/71] consts_gen cpp _gen/frontend/option.asdl [22/71] consts_gen cpp _gen/frontend/id_kind.asdl [23/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 [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] asdl_main cpp --no-pretty-print-methods frontend/types.asdl _gen/frontend/types.asdl _gen/frontend/types.asdl_debug.py [26/71] arith-parse-gen > _gen/osh/arith_parse.cc [27/71] grammar_gen cpp ysh/grammar.pgen2 _gen/ysh [28/71] cxx dbg '' mycpp/bump_leak_heap.cc _build/obj/cxx-dbg/mycpp/bump_leak_heap.o [29/71] asdl_main cpp --abbrev-module=frontend.syntax_abbrev frontend/syntax.asdl _gen/frontend/syntax.asdl _gen/frontend/syntax.asdl_debug.py [30/71] cxx dbg '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-dbg/_gen/frontend/id_kind.asdl.o [31/71] cxx dbg '' mycpp/gc_iolib.cc _build/obj/cxx-dbg/mycpp/gc_iolib.o [32/71] cxx dbg '' mycpp/gc_mylib.cc _build/obj/cxx-dbg/mycpp/gc_mylib.o [33/71] cxx dbg '' _gen/display/pretty.asdl.cc _build/obj/cxx-dbg/_gen/display/pretty.asdl.o [34/71] cxx dbg '' cpp/data_lang.cc _build/obj/cxx-dbg/cpp/data_lang.o [35/71] cxx dbg '' mycpp/gc_builtins.cc _build/obj/cxx-dbg/mycpp/gc_builtins.o [36/71] cxx dbg '' _gen/core/runtime.asdl.cc _build/obj/cxx-dbg/_gen/core/runtime.asdl.o [37/71] cxx dbg '' mycpp/gc_mops.cc _build/obj/cxx-dbg/mycpp/gc_mops.o [38/71] cxx dbg '' mycpp/hash.cc _build/obj/cxx-dbg/mycpp/hash.o [39/71] cxx dbg '' _gen/bin/text_files.cc _build/obj/cxx-dbg/_gen/bin/text_files.o [40/71] cxx dbg '' _gen/core/value.asdl.cc _build/obj/cxx-dbg/_gen/core/value.asdl.o [41/71] cxx dbg '' _gen/cpp/build_stamp.cc _build/obj/cxx-dbg/_gen/cpp/build_stamp.o [42/71] cxx dbg '' cpp/fanos.cc _build/obj/cxx-dbg/cpp/fanos.o [43/71] cxx dbg '' mycpp/mark_sweep_heap.cc _build/obj/cxx-dbg/mycpp/mark_sweep_heap.o [44/71] cxx dbg '' cpp/fanos_shared.c _build/obj/cxx-dbg/cpp/fanos_shared.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/libc.cc _build/obj/cxx-dbg/cpp/libc.o [48/71] cxx dbg '' cpp/frontend_flag_spec.cc _build/obj/cxx-dbg/cpp/frontend_flag_spec.o [49/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, | ^~~~~~~~~~~~~~~~~~~~ [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/pylib.cc _build/obj/cxx-dbg/cpp/pylib.o [53/71] cxx dbg '' cpp/osh_tdop.cc _build/obj/cxx-dbg/cpp/osh_tdop.o [54/71] cxx dbg '' cpp/pgen2.cc _build/obj/cxx-dbg/cpp/pgen2.o [55/71] cxx dbg '' _gen/frontend/arg_types.cc _build/obj/cxx-dbg/_gen/frontend/arg_types.o [56/71] cxx dbg '' cpp/stdlib.cc _build/obj/cxx-dbg/cpp/stdlib.o [57/71] cxx dbg '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-dbg/_gen/data_lang/nil8.asdl.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 '' mycpp/gc_str.cc _build/obj/cxx-dbg/mycpp/gc_str.o [62/71] cxx dbg '' _gen/osh/arith_parse.cc _build/obj/cxx-dbg/_gen/osh/arith_parse.o [63/71] cxx dbg '' _gen/bin/oils_for_unix.mycpp-main.cc _build/obj/cxx-dbg/_gen/bin/oils_for_unix.mycpp-main.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 2231 1733 1 1 1 bash 2232 2231 1 1 1 python2 2233 2232 1 1 1 time-helper 2234 2233 1 1 1 bash 2235 2234 1 1 1 bash 2236 2235 1 1 1 ps run_snippet bash fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2243 sh 2 1 1 1 2243 bash 15 2 1 1 2243 bash 1731 15 1 1 2243 python3 1732 1731 1 1 2243 time-helper 1733 1732 1 1 2243 bash 2231 1733 1 1 2243 bash 2239 2231 1 1 2243 python2 2240 2239 1 1 2243 time-helper 2241 2240 1 1 2243 bash 2242 2241 2242 1 2243 bash 2243 2242 2243 1 2243 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 2231 1733 1 1 1 bash 2246 2231 1 1 1 python2 2247 2246 1 1 1 time-helper 2248 2247 1 1 1 bash 2249 2248 1 1 1 bash 2250 2249 1 1 1 ps run_snippet bash bgproc yes [1] 2257 [1]+ Done ps -o $PS_COLS [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2256 sh 2 1 1 1 2256 bash 15 2 1 1 2256 bash 1731 15 1 1 2256 python3 1732 1731 1 1 2256 time-helper 1733 1732 1 1 2256 bash 2231 1733 1 1 2256 bash 2253 2231 1 1 2256 python2 2254 2253 1 1 2256 time-helper 2255 2254 1 1 2256 bash 2256 2255 2256 1 2256 bash 2257 2256 2257 1 2256 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 2231 1733 1 1 1 bash 2260 2231 1 1 1 python2 2261 2260 1 1 1 time-helper 2262 2261 1 1 1 bash 2263 2262 1 1 1 bash 2264 2263 1 1 1 ps 2265 2263 1 1 1 cat 2266 2263 1 1 1 cat2 run_snippet bash fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2273 sh 2 1 1 1 2273 bash 15 2 1 1 2273 bash 1731 15 1 1 2273 python3 1732 1731 1 1 2273 time-helper 1733 1732 1 1 2273 bash 2231 1733 1 1 2273 bash 2269 2231 1 1 2273 python2 2270 2269 1 1 2273 time-helper 2271 2270 1 1 2273 bash 2272 2271 2272 1 2273 bash 2273 2272 2273 1 2273 ps 2274 2272 2273 1 2273 cat 2275 2272 2273 1 2273 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 2231 1733 1 1 1 bash 2278 2231 1 1 1 python2 2279 2278 1 1 1 time-helper 2280 2279 1 1 1 bash 2281 2280 1 1 1 bash 2282 2281 1 1 1 ps 2283 2281 1 1 1 cat2 2284 2281 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 2291 sh 2 1 1 1 2291 bash 15 2 1 1 2291 bash 1731 15 1 1 2291 python3 1732 1731 1 1 2291 time-helper 1733 1732 1 1 2291 bash 2231 1733 1 1 2291 bash 2287 2231 1 1 2291 python2 2288 2287 1 1 2291 time-helper 2289 2288 1 1 2291 bash 2290 2289 2290 1 2291 bash 2291 2290 2291 1 2291 ps 2292 2290 2291 1 2291 cat2 2293 2290 2291 1 2291 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 2231 1733 1 1 1 bash 2296 2231 1 1 1 python2 2297 2296 1 1 1 time-helper 2298 2297 1 1 1 bash 2299 2298 1 1 1 bash 2300 2299 1 1 1 ps 2301 2299 1 1 1 cat 2302 2299 1 1 1 cat2 run_snippet bash bgpipe yes [1] 2311 [1]+ Done ps -o $PS_COLS | cat | _tmp/cat2 [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2308 sh 2 1 1 1 2308 bash 15 2 1 1 2308 bash 1731 15 1 1 2308 python3 1732 1731 1 1 2308 time-helper 1733 1732 1 1 2308 bash 2231 1733 1 1 2308 bash 2305 2231 1 1 2308 python2 2306 2305 1 1 2308 time-helper 2307 2306 1 1 2308 bash 2308 2307 2308 1 2308 bash 2309 2308 2309 1 2308 ps 2310 2308 2309 1 2308 cat 2311 2308 2309 1 2308 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 2231 1733 1 1 1 bash 2314 2231 1 1 1 python2 2315 2314 1 1 1 time-helper 2316 2315 1 1 1 bash 2317 2316 1 1 1 bash 2318 2317 1 1 1 ps 2319 2317 1 1 1 cat2 2320 2317 1 1 1 bash run_snippet bash bgpipe-lastpipe yes [1] 2329 [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 2326 sh 2 1 1 1 2326 bash 15 2 1 1 2326 bash 1731 15 1 1 2326 python3 1732 1731 1 1 2326 time-helper 1733 1732 1 1 2326 bash 2231 1733 1 1 2326 bash 2323 2231 1 1 2326 python2 2324 2323 1 1 2326 time-helper 2325 2324 1 1 2326 bash 2326 2325 2326 1 2326 bash 2327 2326 2327 1 2326 ps 2328 2326 2327 1 2326 cat2 2329 2326 2327 1 2326 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 2231 1733 1 1 1 bash 2332 2231 1 1 1 python2 2333 2332 1 1 1 time-helper 2334 2333 1 1 1 bash 2335 2334 1 1 1 bash 2336 2335 1 1 1 bash 2337 2336 1 1 1 ps ALIVE run_snippet bash subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2344 sh 2 1 1 1 2344 bash 15 2 1 1 2344 bash 1731 15 1 1 2344 python3 1732 1731 1 1 2344 time-helper 1733 1732 1 1 2344 bash 2231 1733 1 1 2344 bash 2340 2231 1 1 2344 python2 2341 2340 1 1 2344 time-helper 2342 2341 1 1 2344 bash 2343 2342 2343 1 2344 bash 2344 2343 2344 1 2344 bash 2345 2344 2344 1 2344 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 2231 1733 1 1 1 bash 2348 2231 1 1 1 python2 2349 2348 1 1 1 time-helper 2350 2349 1 1 1 bash 2351 2350 1 1 1 bash 2352 2351 1 1 1 ps run_snippet bash csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2358 sh 2 1 1 1 2358 bash 15 2 1 1 2358 bash 1731 15 1 1 2358 python3 1732 1731 1 1 2358 time-helper 1733 1732 1 1 2358 bash 2231 1733 1 1 2358 bash 2355 2231 1 1 2358 python2 2356 2355 1 1 2358 time-helper 2357 2356 1 1 2358 bash 2358 2357 2358 1 2358 bash 2359 2358 2358 1 2358 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 2231 1733 1 1 1 bash 2362 2231 1 1 1 python2 2363 2362 1 1 1 time-helper 2364 2363 1 1 1 bash 2365 2364 1 1 1 bash 2366 2365 1 1 1 ps 2367 2365 1 1 1 cat run_snippet bash psub yes missing expected subshell [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2375 sh 2 1 1 1 2375 bash 15 2 1 1 2375 bash 1731 15 1 1 2375 python3 1732 1731 1 1 2375 time-helper 1733 1732 1 1 2375 bash 2231 1733 1 1 2375 bash 2370 2231 1 1 2375 python2 2371 2370 1 1 2375 time-helper 2372 2371 1 1 2375 bash 2373 2372 2373 1 2375 bash 2374 2373 2373 1 2375 ps 2375 2373 2375 1 2375 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 2231 1733 1 1 1 bash 2378 2231 1 1 1 python2 2379 2378 1 1 1 time-helper 2380 2379 1 1 1 bash 2381 2380 1 1 1 dash 2382 2381 1 1 1 ps run_snippet dash fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2389 sh 2 1 1 1 2389 bash 15 2 1 1 2389 bash 1731 15 1 1 2389 python3 1732 1731 1 1 2389 time-helper 1733 1732 1 1 2389 bash 2231 1733 1 1 2389 bash 2385 2231 1 1 2389 python2 2386 2385 1 1 2389 time-helper 2387 2386 1 1 2389 bash 2388 2387 2388 1 2389 dash 2389 2388 2389 1 2389 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 2231 1733 1 1 1 bash 2392 2231 1 1 1 python2 2393 2392 1 1 1 time-helper 2394 2393 1 1 1 bash 2395 2394 1 1 1 dash 2396 2395 1 1 1 ps run_snippet dash bgproc yes [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2402 sh 2 1 1 1 2402 bash 15 2 1 1 2402 bash 1731 15 1 1 2402 python3 1732 1731 1 1 2402 time-helper 1733 1732 1 1 2402 bash 2231 1733 1 1 2402 bash 2399 2231 1 1 2402 python2 2400 2399 1 1 2402 time-helper 2401 2400 1 1 2402 bash 2402 2401 2402 1 2402 dash 2403 2402 2403 1 2402 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 2231 1733 1 1 1 bash 2406 2231 1 1 1 python2 2407 2406 1 1 1 time-helper 2408 2407 1 1 1 bash 2409 2408 1 1 1 dash 2410 2409 1 1 1 ps 2411 2409 1 1 1 cat 2412 2409 1 1 1 cat2 run_snippet dash fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2419 sh 2 1 1 1 2419 bash 15 2 1 1 2419 bash 1731 15 1 1 2419 python3 1732 1731 1 1 2419 time-helper 1733 1732 1 1 2419 bash 2231 1733 1 1 2419 bash 2415 2231 1 1 2419 python2 2416 2415 1 1 2419 time-helper 2417 2416 1 1 2419 bash 2418 2417 2418 1 2419 dash 2419 2418 2419 1 2419 ps 2420 2418 2419 1 2419 cat 2421 2418 2419 1 2419 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 2231 1733 1 1 1 bash 2424 2231 1 1 1 python2 2425 2424 1 1 1 time-helper 2426 2425 1 1 1 bash 2427 2426 1 1 1 dash 2428 2427 1 1 1 ps 2429 2427 1 1 1 cat2 2430 2427 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 2437 sh 2 1 1 1 2437 bash 15 2 1 1 2437 bash 1731 15 1 1 2437 python3 1732 1731 1 1 2437 time-helper 1733 1732 1 1 2437 bash 2231 1733 1 1 2437 bash 2433 2231 1 1 2437 python2 2434 2433 1 1 2437 time-helper 2435 2434 1 1 2437 bash 2436 2435 2436 1 2437 dash 2437 2436 2437 1 2437 ps 2438 2436 2437 1 2437 cat2 2439 2436 2437 1 2437 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 2231 1733 1 1 1 bash 2442 2231 1 1 1 python2 2443 2442 1 1 1 time-helper 2444 2443 1 1 1 bash 2445 2444 1 1 1 dash 2446 2445 1 1 1 ps 2447 2445 1 1 1 cat 2448 2445 1 1 1 cat2 run_snippet dash bgpipe yes [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2454 sh 2 1 1 1 2454 bash 15 2 1 1 2454 bash 1731 15 1 1 2454 python3 1732 1731 1 1 2454 time-helper 1733 1732 1 1 2454 bash 2231 1733 1 1 2454 bash 2451 2231 1 1 2454 python2 2452 2451 1 1 2454 time-helper 2453 2452 1 1 2454 bash 2454 2453 2454 1 2454 dash 2455 2454 2455 1 2454 ps 2456 2454 2455 1 2454 cat 2457 2454 2455 1 2454 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 2231 1733 1 1 1 bash 2460 2231 1 1 1 python2 2461 2460 1 1 1 time-helper 2462 2461 1 1 1 bash 2463 2462 1 1 1 dash 2464 2463 1 1 1 ps 2465 2463 1 1 1 cat2 2466 2463 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 2472 sh 2 1 1 1 2472 bash 15 2 1 1 2472 bash 1731 15 1 1 2472 python3 1732 1731 1 1 2472 time-helper 1733 1732 1 1 2472 bash 2231 1733 1 1 2472 bash 2469 2231 1 1 2472 python2 2470 2469 1 1 2472 time-helper 2471 2470 1 1 2472 bash 2472 2471 2472 1 2472 dash 2473 2472 2473 1 2472 ps 2474 2472 2473 1 2472 cat2 2475 2472 2473 1 2472 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 2231 1733 1 1 1 bash 2478 2231 1 1 1 python2 2479 2478 1 1 1 time-helper 2480 2479 1 1 1 bash 2481 2480 1 1 1 dash 2482 2481 1 1 1 dash 2483 2482 1 1 1 ps ALIVE run_snippet dash subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2490 sh 2 1 1 1 2490 bash 15 2 1 1 2490 bash 1731 15 1 1 2490 python3 1732 1731 1 1 2490 time-helper 1733 1732 1 1 2490 bash 2231 1733 1 1 2490 bash 2486 2231 1 1 2490 python2 2487 2486 1 1 2490 time-helper 2488 2487 1 1 2490 bash 2489 2488 2489 1 2490 dash 2490 2489 2490 1 2490 dash 2491 2490 2490 1 2490 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 2231 1733 1 1 1 bash 2494 2231 1 1 1 python2 2495 2494 1 1 1 time-helper 2496 2495 1 1 1 bash 2497 2496 1 1 1 dash 2498 2497 1 1 1 ps run_snippet dash csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2504 sh 2 1 1 1 2504 bash 15 2 1 1 2504 bash 1731 15 1 1 2504 python3 1732 1731 1 1 2504 time-helper 1733 1732 1 1 2504 bash 2231 1733 1 1 2504 bash 2501 2231 1 1 2504 python2 2502 2501 1 1 2504 time-helper 2503 2502 1 1 2504 bash 2504 2503 2504 1 2504 dash 2505 2504 2504 1 2504 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 2231 1733 1 1 1 bash 2520 2231 1 1 1 python2 2521 2520 1 1 1 time-helper 2522 2521 1 1 1 bash 2523 2522 1 1 1 mksh 2524 2523 1 1 1 ps run_snippet mksh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2531 sh 2 1 1 1 2531 bash 15 2 1 1 2531 bash 1731 15 1 1 2531 python3 1732 1731 1 1 2531 time-helper 1733 1732 1 1 2531 bash 2231 1733 1 1 2531 bash 2527 2231 1 1 2531 python2 2528 2527 1 1 2531 time-helper 2529 2528 1 1 2531 bash 2530 2529 2530 1 2531 mksh 2531 2530 2531 1 2531 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 2231 1733 1 1 1 bash 2534 2231 1 1 1 python2 2535 2534 1 1 1 time-helper 2536 2535 1 1 1 bash 2537 2536 1 1 1 mksh 2538 2537 1 1 1 ps run_snippet mksh bgproc yes [1] 2545 [1] + Done \ps -o $PS_COLS [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2544 sh 2 1 1 1 2544 bash 15 2 1 1 2544 bash 1731 15 1 1 2544 python3 1732 1731 1 1 2544 time-helper 1733 1732 1 1 2544 bash 2231 1733 1 1 2544 bash 2541 2231 1 1 2544 python2 2542 2541 1 1 2544 time-helper 2543 2542 1 1 2544 bash 2544 2543 2544 1 2544 mksh 2545 2544 2545 1 2544 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 2231 1733 1 1 1 bash 2548 2231 1 1 1 python2 2549 2548 1 1 1 time-helper 2550 2549 1 1 1 bash 2551 2550 1 1 1 mksh 2552 2551 1 1 1 ps 2553 2551 1 1 1 cat 2554 2551 1 1 1 cat2 run_snippet mksh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2561 sh 2 1 1 1 2561 bash 15 2 1 1 2561 bash 1731 15 1 1 2561 python3 1732 1731 1 1 2561 time-helper 1733 1732 1 1 2561 bash 2231 1733 1 1 2561 bash 2557 2231 1 1 2561 python2 2558 2557 1 1 2561 time-helper 2559 2558 1 1 2561 bash 2560 2559 2560 1 2561 mksh 2561 2560 2561 1 2561 ps 2562 2560 2561 1 2561 cat 2563 2560 2561 1 2561 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 2231 1733 1 1 1 bash 2566 2231 1 1 1 python2 2567 2566 1 1 1 time-helper 2568 2567 1 1 1 bash 2569 2568 1 1 1 mksh 2570 2569 1 1 1 ps 2571 2569 1 1 1 cat2 2572 2569 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 2579 sh 2 1 1 1 2579 bash 15 2 1 1 2579 bash 1731 15 1 1 2579 python3 1732 1731 1 1 2579 time-helper 1733 1732 1 1 2579 bash 2231 1733 1 1 2579 bash 2575 2231 1 1 2579 python2 2576 2575 1 1 2579 time-helper 2577 2576 1 1 2579 bash 2578 2577 2578 1 2579 mksh 2579 2578 2579 1 2579 ps 2580 2578 2579 1 2579 cat2 2581 2578 2579 1 2579 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 2231 1733 1 1 1 bash 2584 2231 1 1 1 python2 2585 2584 1 1 1 time-helper 2586 2585 1 1 1 bash 2587 2586 1 1 1 mksh 2588 2587 1 1 1 ps 2589 2587 1 1 1 cat 2590 2587 1 1 1 cat2 run_snippet mksh bgpipe yes [1] 2597 2598 2599 [1] + Done \ps -o $PS_COLS | \cat | _tmp/cat2 [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2596 sh 2 1 1 1 2596 bash 15 2 1 1 2596 bash 1731 15 1 1 2596 python3 1732 1731 1 1 2596 time-helper 1733 1732 1 1 2596 bash 2231 1733 1 1 2596 bash 2593 2231 1 1 2596 python2 2594 2593 1 1 2596 time-helper 2595 2594 1 1 2596 bash 2596 2595 2596 1 2596 mksh 2597 2596 2597 1 2596 ps 2598 2596 2597 1 2596 cat 2599 2596 2597 1 2596 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 2231 1733 1 1 1 bash 2602 2231 1 1 1 python2 2603 2602 1 1 1 time-helper 2604 2603 1 1 1 bash 2605 2604 1 1 1 mksh 2606 2605 1 1 1 ps 2607 2605 1 1 1 cat2 2608 2605 1 1 1 mksh run_snippet mksh bgpipe-lastpipe yes [1] 2615 2616 2617 [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 2614 sh 2 1 1 1 2614 bash 15 2 1 1 2614 bash 1731 15 1 1 2614 python3 1732 1731 1 1 2614 time-helper 1733 1732 1 1 2614 bash 2231 1733 1 1 2614 bash 2611 2231 1 1 2614 python2 2612 2611 1 1 2614 time-helper 2613 2612 1 1 2614 bash 2614 2613 2614 1 2614 mksh 2615 2614 2615 1 2614 ps 2616 2614 2615 1 2614 cat2 2617 2614 2615 1 2614 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 2231 1733 1 1 1 bash 2620 2231 1 1 1 python2 2621 2620 1 1 1 time-helper 2622 2621 1 1 1 bash 2623 2622 1 1 1 mksh 2624 2623 1 1 1 mksh 2625 2624 1 1 1 ps ALIVE run_snippet mksh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2632 sh 2 1 1 1 2632 bash 15 2 1 1 2632 bash 1731 15 1 1 2632 python3 1732 1731 1 1 2632 time-helper 1733 1732 1 1 2632 bash 2231 1733 1 1 2632 bash 2628 2231 1 1 2632 python2 2629 2628 1 1 2632 time-helper 2630 2629 1 1 2632 bash 2631 2630 2631 1 2632 mksh 2632 2631 2632 1 2632 mksh 2633 2632 2632 1 2632 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 2231 1733 1 1 1 bash 2636 2231 1 1 1 python2 2637 2636 1 1 1 time-helper 2638 2637 1 1 1 bash 2639 2638 1 1 1 mksh 2640 2639 1 1 1 ps run_snippet mksh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2646 sh 2 1 1 1 2646 bash 15 2 1 1 2646 bash 1731 15 1 1 2646 python3 1732 1731 1 1 2646 time-helper 1733 1732 1 1 2646 bash 2231 1733 1 1 2646 bash 2643 2231 1 1 2646 python2 2644 2643 1 1 2646 time-helper 2645 2644 1 1 2646 bash 2646 2645 2646 1 2646 mksh 2647 2646 2646 1 2646 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 2231 1733 1 1 1 bash 2662 2231 1 1 1 python2 2663 2662 1 1 1 time-helper 2664 2663 1 1 1 bash 2665 2664 1 1 1 zsh 2666 2665 1 1 1 ps run_snippet zsh fgproc yes [foreground process] 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 2231 1733 1 1 2674 bash 2669 2231 1 1 2674 python2 2670 2669 1 1 2674 time-helper 2671 2670 1 1 2674 bash 2672 2671 2672 1 2674 zsh 2674 2672 2674 1 2674 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 2231 1733 1 1 1 bash 2677 2231 1 1 1 python2 2678 2677 1 1 1 time-helper 2679 2678 1 1 1 bash 2680 2679 1 1 1 zsh 2681 2680 1 1 1 ps run_snippet zsh bgproc yes [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2687 sh 2 1 1 1 2687 bash 15 2 1 1 2687 bash 1731 15 1 1 2687 python3 1732 1731 1 1 2687 time-helper 1733 1732 1 1 2687 bash 2231 1733 1 1 2687 bash 2684 2231 1 1 2687 python2 2685 2684 1 1 2687 time-helper 2686 2685 1 1 2687 bash 2687 2686 2687 1 2687 zsh 2689 2687 2689 1 2687 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 2231 1733 1 1 1 bash 2692 2231 1 1 1 python2 2693 2692 1 1 1 time-helper 2694 2693 1 1 1 bash 2695 2694 1 1 1 zsh 2696 2695 1 1 1 ps 2697 2695 1 1 1 cat 2698 2695 1 1 1 cat2 run_snippet zsh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2706 sh 2 1 1 1 2706 bash 15 2 1 1 2706 bash 1731 15 1 1 2706 python3 1732 1731 1 1 2706 time-helper 1733 1732 1 1 2706 bash 2231 1733 1 1 2706 bash 2701 2231 1 1 2706 python2 2702 2701 1 1 2706 time-helper 2703 2702 1 1 2706 bash 2704 2703 2704 1 2706 zsh 2706 2704 2706 1 2706 ps 2707 2704 2706 1 2706 cat 2708 2704 2706 1 2706 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 2231 1733 1 1 1 bash 2711 2231 1 1 1 python2 2712 2711 1 1 1 time-helper 2713 2712 1 1 1 bash 2714 2713 1 1 1 zsh 2715 2714 1 1 1 ps 2716 2714 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 2724 sh 2 1 1 1 2724 bash 15 2 1 1 2724 bash 1731 15 1 1 2724 python3 1732 1731 1 1 2724 time-helper 1733 1732 1 1 2724 bash 2231 1733 1 1 2724 bash 2719 2231 1 1 2724 python2 2720 2719 1 1 2724 time-helper 2721 2720 1 1 2724 bash 2722 2721 2722 1 2724 zsh 2724 2722 2724 1 2724 ps 2725 2722 2724 1 2724 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 2231 1733 1 1 1 bash 2728 2231 1 1 1 python2 2729 2728 1 1 1 time-helper 2730 2729 1 1 1 bash 2731 2730 1 1 1 zsh 2732 2731 1 1 1 ps 2733 2731 1 1 1 cat 2734 2731 1 1 1 cat2 run_snippet zsh bgpipe yes [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2740 sh 2 1 1 1 2740 bash 15 2 1 1 2740 bash 1731 15 1 1 2740 python3 1732 1731 1 1 2740 time-helper 1733 1732 1 1 2740 bash 2231 1733 1 1 2740 bash 2737 2231 1 1 2740 python2 2738 2737 1 1 2740 time-helper 2739 2738 1 1 2740 bash 2740 2739 2740 1 2740 zsh 2742 2740 2742 1 2740 ps 2743 2740 2742 1 2740 cat 2744 2740 2742 1 2740 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 2231 1733 1 1 1 bash 2747 2231 1 1 1 python2 2748 2747 1 1 1 time-helper 2749 2748 1 1 1 bash 2750 2749 1 1 1 zsh 2751 2750 1 1 1 ps 2752 2750 1 1 1 cat2 2753 2750 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 2759 sh 2 1 1 1 2759 bash 15 2 1 1 2759 bash 1731 15 1 1 2759 python3 1732 1731 1 1 2759 time-helper 1733 1732 1 1 2759 bash 2231 1733 1 1 2759 bash 2756 2231 1 1 2759 python2 2757 2756 1 1 2759 time-helper 2758 2757 1 1 2759 bash 2759 2758 2759 1 2759 zsh 2761 2759 2761 1 2759 ps 2762 2759 2761 1 2759 cat2 2763 2759 2761 1 2759 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 2231 1733 1 1 1 bash 2766 2231 1 1 1 python2 2767 2766 1 1 1 time-helper 2768 2767 1 1 1 bash 2769 2768 1 1 1 zsh 2770 2769 1 1 1 zsh 2771 2770 1 1 1 ps ALIVE run_snippet zsh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2779 sh 2 1 1 1 2779 bash 15 2 1 1 2779 bash 1731 15 1 1 2779 python3 1732 1731 1 1 2779 time-helper 1733 1732 1 1 2779 bash 2231 1733 1 1 2779 bash 2774 2231 1 1 2779 python2 2775 2774 1 1 2779 time-helper 2776 2775 1 1 2779 bash 2777 2776 2777 1 2779 zsh 2779 2777 2779 1 2779 zsh 2780 2779 2779 1 2779 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 2231 1733 1 1 1 bash 2783 2231 1 1 1 python2 2784 2783 1 1 1 time-helper 2785 2784 1 1 1 bash 2786 2785 1 1 1 zsh 2787 2786 1 1 1 ps run_snippet zsh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2793 sh 2 1 1 1 2793 bash 15 2 1 1 2793 bash 1731 15 1 1 2793 python3 1732 1731 1 1 2793 time-helper 1733 1732 1 1 2793 bash 2231 1733 1 1 2793 bash 2790 2231 1 1 2793 python2 2791 2790 1 1 2793 time-helper 2792 2791 1 1 2793 bash 2793 2792 2793 1 2793 zsh 2795 2793 2793 1 2793 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 2231 1733 1 1 1 bash 2798 2231 1 1 1 python2 2799 2798 1 1 1 time-helper 2800 2799 1 1 1 bash 2801 2800 1 1 1 zsh 2802 2801 1 1 1 ps 2803 2801 1 1 1 cat run_snippet zsh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2812 sh 2 1 1 1 2812 bash 15 2 1 1 2812 bash 1731 15 1 1 2812 python3 1732 1731 1 1 2812 time-helper 1733 1732 1 1 2812 bash 2231 1733 1 1 2812 bash 2806 2231 1 1 2812 python2 2807 2806 1 1 2812 time-helper 2808 2807 1 1 2812 bash 2809 2808 2809 1 2812 zsh 2811 2809 2811 1 2812 ps 2812 2809 2812 1 2812 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 2231 1733 1 1 1 bash 2815 2231 1 1 1 python2 2816 2815 1 1 1 time-helper 2817 2816 1 1 1 bash 2818 2817 1 1 1 python2 2821 2818 1 1 1 ps run_snippet bin/osh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2830 sh 2 1 1 1 2830 bash 15 2 1 1 2830 bash 1731 15 1 1 2830 python3 1732 1731 1 1 2830 time-helper 1733 1732 1 1 2830 bash 2231 1733 1 1 2830 bash 2824 2231 1 1 2830 python2 2825 2824 1 1 2830 time-helper 2826 2825 1 1 2830 bash 2827 2826 2827 1 2830 python2 2830 2827 2830 1 2830 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 2231 1733 1 1 1 bash 2833 2231 1 1 1 python2 2834 2833 1 1 1 time-helper 2835 2834 1 1 1 bash 2836 2835 1 1 1 python2 2839 2836 1 1 1 ps run_snippet bin/osh bgproc yes [%1] PID 2848 Started [%1] PID 2848 Done [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2845 sh 2 1 1 1 2845 bash 15 2 1 1 2845 bash 1731 15 1 1 2845 python3 1732 1731 1 1 2845 time-helper 1733 1732 1 1 2845 bash 2231 1733 1 1 2845 bash 2842 2231 1 1 2845 python2 2843 2842 1 1 2845 time-helper 2844 2843 1 1 2845 bash 2845 2844 2845 1 2845 python2 2848 2845 2848 1 2845 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 2231 1733 1 1 1 bash 2851 2231 1 1 1 python2 2852 2851 1 1 1 time-helper 2853 2852 1 1 1 bash 2854 2853 1 1 1 python2 2857 2854 1 1 1 ps 2858 2854 1 1 1 python2 2859 2858 1 1 1 python2 2860 2854 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 2869 sh 2 1 1 1 2869 bash 15 2 1 1 2869 bash 1731 15 1 1 2869 python3 1732 1731 1 1 2869 time-helper 1733 1732 1 1 2869 bash 2231 1733 1 1 2869 bash 2863 2231 1 1 2869 python2 2864 2863 1 1 2869 time-helper 2865 2864 1 1 2869 bash 2866 2865 2866 1 2869 python2 2869 2866 2869 1 2869 ps 2870 2866 2869 1 2869 cat 2871 2866 2869 1 2869 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 2231 1733 1 1 1 bash 2874 2231 1 1 1 python2 2875 2874 1 1 1 time-helper 2876 2875 1 1 1 bash 2877 2876 1 1 1 python2 2880 2877 1 1 1 ps 2881 2877 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 2890 sh 2 1 1 1 2890 bash 15 2 1 1 2890 bash 1731 15 1 1 2890 python3 1732 1731 1 1 2890 time-helper 1733 1732 1 1 2890 bash 2231 1733 1 1 2890 bash 2884 2231 1 1 2890 python2 2885 2884 1 1 2890 time-helper 2886 2885 1 1 2890 bash 2887 2886 2887 1 2890 python2 2890 2887 2890 1 2890 ps 2891 2887 2890 1 2890 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 2231 1733 1 1 1 bash 2894 2231 1 1 1 python2 2895 2894 1 1 1 time-helper 2896 2895 1 1 1 bash 2897 2896 1 1 1 python2 2900 2897 1 1 1 ps 2901 2897 1 1 1 python2 2902 2897 1 1 1 cat2 2903 2901 1 1 1 python2 run_snippet bin/osh bgpipe yes [%1] PID 2914 Started [%1] PGID 2912 Done [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2909 sh 2 1 1 1 2909 bash 15 2 1 1 2909 bash 1731 15 1 1 2909 python3 1732 1731 1 1 2909 time-helper 1733 1732 1 1 2909 bash 2231 1733 1 1 2909 bash 2906 2231 1 1 2909 python2 2907 2906 1 1 2909 time-helper 2908 2907 1 1 2909 bash 2909 2908 2909 1 2909 python2 2912 2909 2912 1 2909 ps 2913 2909 2912 1 2909 cat 2914 2909 2912 1 2909 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 2231 1733 1 1 1 bash 2917 2231 1 1 1 python2 2918 2917 1 1 1 time-helper 2919 2918 1 1 1 bash 2920 2919 1 1 1 python2 2923 2920 1 1 1 ps 2924 2920 1 1 1 cat2 2925 2920 1 1 1 python2 run_snippet bin/osh bgpipe-lastpipe yes [%1] PID 2936 Started [%1] PGID 2934 Done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2931 sh 2 1 1 1 2931 bash 15 2 1 1 2931 bash 1731 15 1 1 2931 python3 1732 1731 1 1 2931 time-helper 1733 1732 1 1 2931 bash 2231 1733 1 1 2931 bash 2928 2231 1 1 2931 python2 2929 2928 1 1 2931 time-helper 2930 2929 1 1 2931 bash 2931 2930 2931 1 2931 python2 2934 2931 2934 1 2931 ps 2935 2931 2934 1 2931 cat2 2936 2931 2934 1 2931 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 2231 1733 1 1 1 bash 2939 2231 1 1 1 python2 2940 2939 1 1 1 time-helper 2941 2940 1 1 1 bash 2942 2941 1 1 1 python2 2945 2942 1 1 1 python2 2946 2945 1 1 1 ps ALIVE run_snippet bin/osh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2955 sh 2 1 1 1 2955 bash 15 2 1 1 2955 bash 1731 15 1 1 2955 python3 1732 1731 1 1 2955 time-helper 1733 1732 1 1 2955 bash 2231 1733 1 1 2955 bash 2949 2231 1 1 2955 python2 2950 2949 1 1 2955 time-helper 2951 2950 1 1 2955 bash 2952 2951 2952 1 2955 python2 2955 2952 2955 1 2955 python2 2956 2955 2955 1 2955 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 2231 1733 1 1 1 bash 2959 2231 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 run_snippet bin/osh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2971 sh 2 1 1 1 2971 bash 15 2 1 1 2971 bash 1731 15 1 1 2971 python3 1732 1731 1 1 2971 time-helper 1733 1732 1 1 2971 bash 2231 1733 1 1 2971 bash 2968 2231 1 1 2971 python2 2969 2968 1 1 2971 time-helper 2970 2969 1 1 2971 bash 2971 2970 2971 1 2971 python2 2974 2971 2971 1 2971 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 2231 1733 1 1 1 bash 2977 2231 1 1 1 python2 2978 2977 1 1 1 time-helper 2979 2978 1 1 1 bash 2980 2979 1 1 1 python2 2983 2980 1 1 1 ps 2984 2980 1 1 1 python2 run_snippet bin/osh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2994 sh 2 1 1 1 2994 bash 15 2 1 1 2994 bash 1731 15 1 1 2994 python3 1732 1731 1 1 2994 time-helper 1733 1732 1 1 2994 bash 2231 1733 1 1 2994 bash 2987 2231 1 1 2994 python2 2988 2987 1 1 2994 time-helper 2989 2988 1 1 2994 bash 2990 2989 2990 1 2994 python2 2993 2990 2993 1 2994 ps 2994 2990 2994 1 2994 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 2231 1733 1 1 1 bash 2997 2231 1 1 1 python2 2998 2997 1 1 1 time-helper 2999 2998 1 1 1 bash 3000 2999 1 1 1 osh 3001 3000 1 1 1 ps run_snippet _bin/cxx-dbg/osh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3008 sh 2 1 1 1 3008 bash 15 2 1 1 3008 bash 1731 15 1 1 3008 python3 1732 1731 1 1 3008 time-helper 1733 1732 1 1 3008 bash 2231 1733 1 1 3008 bash 3004 2231 1 1 3008 python2 3005 3004 1 1 3008 time-helper 3006 3005 1 1 3008 bash 3007 3006 3007 1 3008 osh 3008 3007 3008 1 3008 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 2231 1733 1 1 1 bash 3011 2231 1 1 1 python2 3012 3011 1 1 1 time-helper 3013 3012 1 1 1 bash 3014 3013 1 1 1 osh 3015 3014 1 1 1 ps run_snippet _bin/cxx-dbg/osh bgproc yes [%1] PID 3022 Started [%1] PID 3022 Done [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3021 sh 2 1 1 1 3021 bash 15 2 1 1 3021 bash 1731 15 1 1 3021 python3 1732 1731 1 1 3021 time-helper 1733 1732 1 1 3021 bash 2231 1733 1 1 3021 bash 3018 2231 1 1 3021 python2 3019 3018 1 1 3021 time-helper 3020 3019 1 1 3021 bash 3021 3020 3021 1 3021 osh 3022 3021 3022 1 3021 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 2231 1733 1 1 1 bash 3025 2231 1 1 1 python2 3026 3025 1 1 1 time-helper 3027 3026 1 1 1 bash 3028 3027 1 1 1 osh 3029 3028 1 1 1 ps 3030 3028 1 1 1 osh 3031 3028 1 1 1 cat2 3032 3030 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 3039 sh 2 1 1 1 3039 bash 15 2 1 1 3039 bash 1731 15 1 1 3039 python3 1732 1731 1 1 3039 time-helper 1733 1732 1 1 3039 bash 2231 1733 1 1 3039 bash 3035 2231 1 1 3039 python2 3036 3035 1 1 3039 time-helper 3037 3036 1 1 3039 bash 3038 3037 3038 1 3039 osh 3039 3038 3039 1 3039 ps 3040 3038 3039 1 3039 cat 3041 3038 3039 1 3039 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 2231 1733 1 1 1 bash 3044 2231 1 1 1 python2 3045 3044 1 1 1 time-helper 3046 3045 1 1 1 bash 3047 3046 1 1 1 osh 3048 3047 1 1 1 ps 3049 3047 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 3056 sh 2 1 1 1 3056 bash 15 2 1 1 3056 bash 1731 15 1 1 3056 python3 1732 1731 1 1 3056 time-helper 1733 1732 1 1 3056 bash 2231 1733 1 1 3056 bash 3052 2231 1 1 3056 python2 3053 3052 1 1 3056 time-helper 3054 3053 1 1 3056 bash 3055 3054 3055 1 3056 osh 3056 3055 3056 1 3056 ps 3057 3055 3056 1 3056 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 2231 1733 1 1 1 bash 3060 2231 1 1 1 python2 3061 3060 1 1 1 time-helper 3062 3061 1 1 1 bash 3063 3062 1 1 1 osh 3064 3063 1 1 1 ps 3065 3063 1 1 1 osh 3066 3063 1 1 1 cat2 3067 3065 1 1 1 osh run_snippet _bin/cxx-dbg/osh bgpipe yes [%1] PID 3076 Started [%1] PGID 3074 Done [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3073 sh 2 1 1 1 3073 bash 15 2 1 1 3073 bash 1731 15 1 1 3073 python3 1732 1731 1 1 3073 time-helper 1733 1732 1 1 3073 bash 2231 1733 1 1 3073 bash 3070 2231 1 1 3073 python2 3071 3070 1 1 3073 time-helper 3072 3071 1 1 3073 bash 3073 3072 3073 1 3073 osh 3074 3073 3074 1 3073 ps 3075 3073 3074 1 3073 cat 3076 3073 3074 1 3073 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 2231 1733 1 1 1 bash 3079 2231 1 1 1 python2 3080 3079 1 1 1 time-helper 3081 3080 1 1 1 bash 3082 3081 1 1 1 osh 3083 3082 1 1 1 ps 3084 3082 1 1 1 cat2 3085 3082 1 1 1 osh run_snippet _bin/cxx-dbg/osh bgpipe-lastpipe yes [%1] PID 3094 Started [%1] PGID 3092 Done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3091 sh 2 1 1 1 3091 bash 15 2 1 1 3091 bash 1731 15 1 1 3091 python3 1732 1731 1 1 3091 time-helper 1733 1732 1 1 3091 bash 2231 1733 1 1 3091 bash 3088 2231 1 1 3091 python2 3089 3088 1 1 3091 time-helper 3090 3089 1 1 3091 bash 3091 3090 3091 1 3091 osh 3092 3091 3092 1 3091 ps 3093 3091 3092 1 3091 cat2 3094 3091 3092 1 3091 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 2231 1733 1 1 1 bash 3097 2231 1 1 1 python2 3098 3097 1 1 1 time-helper 3099 3098 1 1 1 bash 3100 3099 1 1 1 osh 3101 3100 1 1 1 osh 3102 3101 1 1 1 ps ALIVE run_snippet _bin/cxx-dbg/osh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3109 sh 2 1 1 1 3109 bash 15 2 1 1 3109 bash 1731 15 1 1 3109 python3 1732 1731 1 1 3109 time-helper 1733 1732 1 1 3109 bash 2231 1733 1 1 3109 bash 3105 2231 1 1 3109 python2 3106 3105 1 1 3109 time-helper 3107 3106 1 1 3109 bash 3108 3107 3108 1 3109 osh 3109 3108 3109 1 3109 osh 3110 3109 3109 1 3109 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 2231 1733 1 1 1 bash 3113 2231 1 1 1 python2 3114 3113 1 1 1 time-helper 3115 3114 1 1 1 bash 3116 3115 1 1 1 osh 3117 3116 1 1 1 ps run_snippet _bin/cxx-dbg/osh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3123 sh 2 1 1 1 3123 bash 15 2 1 1 3123 bash 1731 15 1 1 3123 python3 1732 1731 1 1 3123 time-helper 1733 1732 1 1 3123 bash 2231 1733 1 1 3123 bash 3120 2231 1 1 3123 python2 3121 3120 1 1 3123 time-helper 3122 3121 1 1 3123 bash 3123 3122 3123 1 3123 osh 3124 3123 3123 1 3123 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 2231 1733 1 1 1 bash 3127 2231 1 1 1 python2 3128 3127 1 1 1 time-helper 3129 3128 1 1 1 bash 3130 3129 1 1 1 osh 3131 3130 1 1 1 ps 3132 3130 1 1 1 osh run_snippet _bin/cxx-dbg/osh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 3140 sh 2 1 1 1 3140 bash 15 2 1 1 3140 bash 1731 15 1 1 3140 python3 1732 1731 1 1 3140 time-helper 1733 1732 1 1 3140 bash 2231 1733 1 1 3140 bash 3135 2231 1 1 3140 python2 3136 3135 1 1 3140 time-helper 3137 3136 1 1 3140 bash 3138 3137 3138 1 3140 osh 3139 3138 3139 1 3140 ps 3140 3138 3140 1 3140 cat Wrote _tmp/process-table/index.html