'_tmp/cat2' -> '/usr/bin/cat' [1/68] write-main _gen/bin/oils_for_unix.mycpp-main.cc oils_for_unix [2/68] make-shwrap py _bin/shwrap/optview_gen core/optview_gen.py frontend/option_def.py [3/68] 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/util.py asdl/visitor.py [4/68] 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 [5/68] build-stamp-cpp _build/git-commit.txt _gen/cpp/build_stamp.h _gen/cpp/build_stamp.cc [6/68] make-shwrap py _bin/shwrap/embedded_file_gen cpp/embedded_file_gen.py mycpp/mylib.py pylib/collections_.py [7/68] 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/68] 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/68] asdl_main cpp --no-pretty-print-methods asdl/hnode.asdl _gen/asdl/hnode.asdl _gen/asdl/hnode.asdl_debug.py [10/68] optview_gen > _gen/core/optview.h [11/68] 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/68] asdl_main cpp core/value.asdl _gen/core/value.asdl _gen/core/value.asdl_debug.py [13/68] asdl_main cpp core/runtime.asdl _gen/core/runtime.asdl _gen/core/runtime.asdl_debug.py [14/68] make-shwrap py _bin/shwrap/option_gen frontend/option_gen.py asdl/ast.py frontend/builtin_def.py frontend/option_def.py [15/68] asdl_main cpp data_lang/nil8.asdl _gen/data_lang/nil8.asdl _gen/data_lang/nil8.asdl_debug.py [16/68] make-shwrap py _bin/shwrap/signal_gen frontend/signal_gen.py frontend/signal_def.py [17/68] asdl_main cpp display/pretty.asdl _gen/display/pretty.asdl _gen/display/pretty.asdl_debug.py [18/68] consts_gen cpp _gen/frontend/id_kind.asdl [19/68] consts_gen cpp _gen/frontend/option.asdl [20/68] signal_gen cpp _gen/frontend/signal [21/68] flag_gen cpp _gen/frontend/arg_types [22/68] consts_gen cpp-consts _gen/frontend/consts [23/68] 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/68] asdl_main cpp --no-pretty-print-methods frontend/types.asdl _gen/frontend/types.asdl _gen/frontend/types.asdl_debug.py [25/68] 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 [26/68] asdl_main cpp --abbrev-module=frontend.syntax_abbrev frontend/syntax.asdl _gen/frontend/syntax.asdl _gen/frontend/syntax.asdl_debug.py [27/68] grammar_gen cpp ysh/grammar.pgen2 _gen/ysh [28/68] arith-parse-gen > _gen/osh/arith_parse.cc [29/68] cxx dbg '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-dbg/_gen/frontend/id_kind.asdl.o [30/68] cxx dbg '' cpp/data_lang.cc _build/obj/cxx-dbg/cpp/data_lang.o [31/68] cxx dbg '' mycpp/bump_leak_heap.cc _build/obj/cxx-dbg/mycpp/bump_leak_heap.o [32/68] cxx dbg '' _gen/display/pretty.asdl.cc _build/obj/cxx-dbg/_gen/display/pretty.asdl.o [33/68] cxx dbg '' mycpp/gc_iolib.cc _build/obj/cxx-dbg/mycpp/gc_iolib.o [34/68] cxx dbg '' _gen/core/runtime.asdl.cc _build/obj/cxx-dbg/_gen/core/runtime.asdl.o [35/68] cxx dbg '' mycpp/gc_mylib.cc _build/obj/cxx-dbg/mycpp/gc_mylib.o [36/68] cxx dbg '' _gen/core/value.asdl.cc _build/obj/cxx-dbg/_gen/core/value.asdl.o [37/68] cxx dbg '' mycpp/hash.cc _build/obj/cxx-dbg/mycpp/hash.o [38/68] cxx dbg '' mycpp/gc_builtins.cc _build/obj/cxx-dbg/mycpp/gc_builtins.o [39/68] cxx dbg '' mycpp/gc_mops.cc _build/obj/cxx-dbg/mycpp/gc_mops.o [40/68] cxx dbg '' _gen/cpp/build_stamp.cc _build/obj/cxx-dbg/_gen/cpp/build_stamp.o [41/68] cxx dbg '' _gen/bin/text_files.cc _build/obj/cxx-dbg/_gen/bin/text_files.o [42/68] cxx dbg '' cpp/fanos.cc _build/obj/cxx-dbg/cpp/fanos.o [43/68] cxx dbg '' cpp/fanos_shared.c _build/obj/cxx-dbg/cpp/fanos_shared.o [44/68] cxx dbg '' mycpp/mark_sweep_heap.cc _build/obj/cxx-dbg/mycpp/mark_sweep_heap.o [45/68] cxx dbg '' _gen/frontend/syntax.asdl.cc _build/obj/cxx-dbg/_gen/frontend/syntax.asdl.o [46/68] cxx dbg '' cpp/core.cc _build/obj/cxx-dbg/cpp/core.o [47/68] cxx dbg '' cpp/frontend_flag_spec.cc _build/obj/cxx-dbg/cpp/frontend_flag_spec.o [48/68] cxx dbg '' cpp/libc.cc _build/obj/cxx-dbg/cpp/libc.o [49/68] cxx dbg '' cpp/frontend_pyreadline.cc _build/obj/cxx-dbg/cpp/frontend_pyreadline.o [50/68] cxx dbg '' cpp/frontend_match.cc _build/obj/cxx-dbg/cpp/frontend_match.o [51/68] cxx dbg '' cpp/osh_tdop.cc _build/obj/cxx-dbg/cpp/osh_tdop.o [52/68] cxx dbg '' cpp/osh.cc _build/obj/cxx-dbg/cpp/osh.o [53/68] cxx dbg '' cpp/pylib.cc _build/obj/cxx-dbg/cpp/pylib.o [54/68] cxx dbg '' cpp/pgen2.cc _build/obj/cxx-dbg/cpp/pgen2.o [55/68] cxx dbg '' _gen/frontend/arg_types.cc _build/obj/cxx-dbg/_gen/frontend/arg_types.o [56/68] cxx dbg '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-dbg/_gen/data_lang/nil8.asdl.o [57/68] cxx dbg '' cpp/stdlib.cc _build/obj/cxx-dbg/cpp/stdlib.o [58/68] cxx dbg '' _gen/frontend/help_meta.cc _build/obj/cxx-dbg/_gen/frontend/help_meta.o [59/68] cxx dbg '' _gen/frontend/signal.cc _build/obj/cxx-dbg/_gen/frontend/signal.o [60/68] cxx dbg '' _gen/frontend/consts.cc _build/obj/cxx-dbg/_gen/frontend/consts.o [61/68] cxx dbg '' _gen/bin/oils_for_unix.mycpp-main.cc _build/obj/cxx-dbg/_gen/bin/oils_for_unix.mycpp-main.o [62/68] cxx dbg '' mycpp/gc_str.cc _build/obj/cxx-dbg/mycpp/gc_str.o [63/68] cxx dbg '' _gen/osh/arith_parse.cc _build/obj/cxx-dbg/_gen/osh/arith_parse.o [64/68] cxx dbg '' _gen/ysh/grammar_tables.cc _build/obj/cxx-dbg/_gen/ysh/grammar_tables.o [65/68] 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 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/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 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/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: CONVERT mycpp pass: CONTROL FLOW mycpp: dumping control flow graph to _tmp/mycpp-facts mycpp pass: CONST mycpp pass: DECL mycpp pass: IMPL WARNING: builtin.assign_osh._PrintVariables() has 27 stack roots. Consider refactoring this function. WARNING: builtin.hay_ysh.HayNode_.Run() has 17 stack roots. Consider refactoring this function. WARNING: builtin.io_ysh.Pp.Run() has 19 stack roots. Consider refactoring this function. WARNING: builtin.meta_oils.ShellFile._Use() has 19 stack roots. Consider refactoring this function. WARNING: builtin.method_str.Replace.Call() has 26 stack roots. Consider refactoring this function. WARNING: builtin.printf_osh.Printf._Percent() has 21 stack roots. Consider refactoring this function. WARNING: builtin.printf_osh.Printf.Run() has 17 stack roots. Consider refactoring this function. WARNING: core.completion.RootCompleter.Matches() has 31 stack roots. Consider refactoring this function. WARNING: osh.cmd_parse.CommandParser._MaybeExpandAliases() has 17 stack roots. Consider refactoring this function. WARNING: osh.history.Evaluator.Eval() has 19 stack roots. Consider refactoring this function. WARNING: osh.word_eval.AbstractWordEvaluator._ApplyTestOp() has 19 stack roots. Consider refactoring this function. WARNING: tools.ysh_ify.YshPrinter.DoCommand() has 18 stack roots. Consider refactoring this function. WARNING: ysh.expr_eval.ExprEvaluator._EvalExpr() has 17 stack roots. Consider refactoring this function. WARNING: ysh.expr_parse._PushYshTokens() has 27 stack roots. Consider refactoring this function. WARNING: builtin.completion_osh.SpecBuilder.Build() has 18 stack roots. Consider refactoring this function. WARNING: core.shell.Main() has 131 stack roots. Consider refactoring this function. mycpp DONE [66/68] cxx dbg '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-dbg/_gen/bin/oils_for_unix.mycpp.o [67/68] 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 [68/68] 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 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 1908 1907 1 1 1 python2 1909 1908 1 1 1 time-helper 1910 1909 1 1 1 bash 1911 1910 1 1 1 bash 1912 1911 1 1 1 ps run_snippet bash fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1919 sh 7 1 1 1 1919 bash 20 7 1 1 1919 bash 1426 20 1 1 1919 python3 1427 1426 1 1 1919 time-helper 1428 1427 1 1 1919 bash 1907 1428 1 1 1919 bash 1915 1907 1 1 1919 python2 1916 1915 1 1 1919 time-helper 1917 1916 1 1 1919 bash 1918 1917 1918 1 1919 bash 1919 1918 1919 1 1919 ps run_snippet bash bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 1922 1907 1 1 1 python2 1923 1922 1 1 1 time-helper 1924 1923 1 1 1 bash 1925 1924 1 1 1 bash 1926 1925 1 1 1 ps run_snippet bash bgproc yes [1] 1933 [1]+ Done ps -o $PS_COLS [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1932 sh 7 1 1 1 1932 bash 20 7 1 1 1932 bash 1426 20 1 1 1932 python3 1427 1426 1 1 1932 time-helper 1428 1427 1 1 1932 bash 1907 1428 1 1 1932 bash 1929 1907 1 1 1932 python2 1930 1929 1 1 1932 time-helper 1931 1930 1 1 1932 bash 1932 1931 1932 1 1932 bash 1933 1932 1933 1 1932 ps run_snippet bash fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 1936 1907 1 1 1 python2 1937 1936 1 1 1 time-helper 1938 1937 1 1 1 bash 1939 1938 1 1 1 bash 1940 1939 1 1 1 ps 1941 1939 1 1 1 cat 1942 1939 1 1 1 cat2 run_snippet bash fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1949 sh 7 1 1 1 1949 bash 20 7 1 1 1949 bash 1426 20 1 1 1949 python3 1427 1426 1 1 1949 time-helper 1428 1427 1 1 1949 bash 1907 1428 1 1 1949 bash 1945 1907 1 1 1949 python2 1946 1945 1 1 1949 time-helper 1947 1946 1 1 1949 bash 1948 1947 1948 1 1949 bash 1949 1948 1949 1 1949 ps 1950 1948 1949 1 1949 cat 1951 1948 1949 1 1949 cat2 run_snippet bash fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 1954 1907 1 1 1 python2 1955 1954 1 1 1 time-helper 1956 1955 1 1 1 bash 1957 1956 1 1 1 bash 1958 1957 1 1 1 ps 1959 1957 1 1 1 cat2 1960 1957 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 1967 sh 7 1 1 1 1967 bash 20 7 1 1 1967 bash 1426 20 1 1 1967 python3 1427 1426 1 1 1967 time-helper 1428 1427 1 1 1967 bash 1907 1428 1 1 1967 bash 1963 1907 1 1 1967 python2 1964 1963 1 1 1967 time-helper 1965 1964 1 1 1967 bash 1966 1965 1966 1 1967 bash 1967 1966 1967 1 1967 ps 1968 1966 1967 1 1967 cat2 1969 1966 1967 1 1967 bash run_snippet bash bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 1972 1907 1 1 1 python2 1973 1972 1 1 1 time-helper 1974 1973 1 1 1 bash 1975 1974 1 1 1 bash 1976 1975 1 1 1 ps 1977 1975 1 1 1 cat 1978 1975 1 1 1 cat2 run_snippet bash bgpipe yes [1] 1987 [1]+ Done ps -o $PS_COLS | cat | _tmp/cat2 [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1984 sh 7 1 1 1 1984 bash 20 7 1 1 1984 bash 1426 20 1 1 1984 python3 1427 1426 1 1 1984 time-helper 1428 1427 1 1 1984 bash 1907 1428 1 1 1984 bash 1981 1907 1 1 1984 python2 1982 1981 1 1 1984 time-helper 1983 1982 1 1 1984 bash 1984 1983 1984 1 1984 bash 1985 1984 1985 1 1984 ps 1986 1984 1985 1 1984 cat 1987 1984 1985 1 1984 cat2 run_snippet bash bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 1990 1907 1 1 1 python2 1991 1990 1 1 1 time-helper 1992 1991 1 1 1 bash 1993 1992 1 1 1 bash 1994 1993 1 1 1 ps 1995 1993 1 1 1 cat2 1996 1993 1 1 1 bash run_snippet bash bgpipe-lastpipe yes [1] 2005 [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 2002 sh 7 1 1 1 2002 bash 20 7 1 1 2002 bash 1426 20 1 1 2002 python3 1427 1426 1 1 2002 time-helper 1428 1427 1 1 2002 bash 1907 1428 1 1 2002 bash 1999 1907 1 1 2002 python2 2000 1999 1 1 2002 time-helper 2001 2000 1 1 2002 bash 2002 2001 2002 1 2002 bash 2003 2002 2003 1 2002 ps 2004 2002 2003 1 2002 cat2 2005 2002 2003 1 2002 bash run_snippet bash subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2008 1907 1 1 1 python2 2009 2008 1 1 1 time-helper 2010 2009 1 1 1 bash 2011 2010 1 1 1 bash 2012 2011 1 1 1 bash 2013 2012 1 1 1 ps ALIVE run_snippet bash subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2020 sh 7 1 1 1 2020 bash 20 7 1 1 2020 bash 1426 20 1 1 2020 python3 1427 1426 1 1 2020 time-helper 1428 1427 1 1 2020 bash 1907 1428 1 1 2020 bash 2016 1907 1 1 2020 python2 2017 2016 1 1 2020 time-helper 2018 2017 1 1 2020 bash 2019 2018 2019 1 2020 bash 2020 2019 2020 1 2020 bash 2021 2020 2020 1 2020 ps ALIVE run_snippet bash csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2024 1907 1 1 1 python2 2025 2024 1 1 1 time-helper 2026 2025 1 1 1 bash 2027 2026 1 1 1 bash 2028 2027 1 1 1 ps run_snippet bash csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2034 sh 7 1 1 1 2034 bash 20 7 1 1 2034 bash 1426 20 1 1 2034 python3 1427 1426 1 1 2034 time-helper 1428 1427 1 1 2034 bash 1907 1428 1 1 2034 bash 2031 1907 1 1 2034 python2 2032 2031 1 1 2034 time-helper 2033 2032 1 1 2034 bash 2034 2033 2034 1 2034 bash 2035 2034 2034 1 2034 ps run_snippet bash psub - missing expected subshell [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2038 1907 1 1 1 python2 2039 2038 1 1 1 time-helper 2040 2039 1 1 1 bash 2041 2040 1 1 1 bash 2042 2041 1 1 1 ps 2043 2041 1 1 1 cat run_snippet bash psub yes missing expected subshell [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2051 sh 7 1 1 1 2051 bash 20 7 1 1 2051 bash 1426 20 1 1 2051 python3 1427 1426 1 1 2051 time-helper 1428 1427 1 1 2051 bash 1907 1428 1 1 2051 bash 2046 1907 1 1 2051 python2 2047 2046 1 1 2051 time-helper 2048 2047 1 1 2051 bash 2049 2048 2049 1 2051 bash 2050 2049 2049 1 2051 ps 2051 2049 2051 1 2051 cat run_snippet dash fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2054 1907 1 1 1 python2 2055 2054 1 1 1 time-helper 2056 2055 1 1 1 bash 2057 2056 1 1 1 dash 2058 2057 1 1 1 ps run_snippet dash fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2065 sh 7 1 1 1 2065 bash 20 7 1 1 2065 bash 1426 20 1 1 2065 python3 1427 1426 1 1 2065 time-helper 1428 1427 1 1 2065 bash 1907 1428 1 1 2065 bash 2061 1907 1 1 2065 python2 2062 2061 1 1 2065 time-helper 2063 2062 1 1 2065 bash 2064 2063 2064 1 2065 dash 2065 2064 2065 1 2065 ps run_snippet dash bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2068 1907 1 1 1 python2 2069 2068 1 1 1 time-helper 2070 2069 1 1 1 bash 2071 2070 1 1 1 dash 2072 2071 1 1 1 ps run_snippet dash bgproc yes [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2078 sh 7 1 1 1 2078 bash 20 7 1 1 2078 bash 1426 20 1 1 2078 python3 1427 1426 1 1 2078 time-helper 1428 1427 1 1 2078 bash 1907 1428 1 1 2078 bash 2075 1907 1 1 2078 python2 2076 2075 1 1 2078 time-helper 2077 2076 1 1 2078 bash 2078 2077 2078 1 2078 dash 2079 2078 2079 1 2078 ps run_snippet dash fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2082 1907 1 1 1 python2 2083 2082 1 1 1 time-helper 2084 2083 1 1 1 bash 2085 2084 1 1 1 dash 2086 2085 1 1 1 ps 2087 2085 1 1 1 cat 2088 2085 1 1 1 cat2 run_snippet dash fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2095 sh 7 1 1 1 2095 bash 20 7 1 1 2095 bash 1426 20 1 1 2095 python3 1427 1426 1 1 2095 time-helper 1428 1427 1 1 2095 bash 1907 1428 1 1 2095 bash 2091 1907 1 1 2095 python2 2092 2091 1 1 2095 time-helper 2093 2092 1 1 2095 bash 2094 2093 2094 1 2095 dash 2095 2094 2095 1 2095 ps 2096 2094 2095 1 2095 cat 2097 2094 2095 1 2095 cat2 run_snippet dash fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2100 1907 1 1 1 python2 2101 2100 1 1 1 time-helper 2102 2101 1 1 1 bash 2103 2102 1 1 1 dash 2104 2103 1 1 1 ps 2105 2103 1 1 1 cat2 2106 2103 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 2113 sh 7 1 1 1 2113 bash 20 7 1 1 2113 bash 1426 20 1 1 2113 python3 1427 1426 1 1 2113 time-helper 1428 1427 1 1 2113 bash 1907 1428 1 1 2113 bash 2109 1907 1 1 2113 python2 2110 2109 1 1 2113 time-helper 2111 2110 1 1 2113 bash 2112 2111 2112 1 2113 dash 2113 2112 2113 1 2113 ps 2114 2112 2113 1 2113 cat2 2115 2112 2113 1 2113 dash run_snippet dash bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2118 1907 1 1 1 python2 2119 2118 1 1 1 time-helper 2120 2119 1 1 1 bash 2121 2120 1 1 1 dash 2122 2121 1 1 1 ps 2123 2121 1 1 1 cat 2124 2121 1 1 1 cat2 run_snippet dash bgpipe yes [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2130 sh 7 1 1 1 2130 bash 20 7 1 1 2130 bash 1426 20 1 1 2130 python3 1427 1426 1 1 2130 time-helper 1428 1427 1 1 2130 bash 1907 1428 1 1 2130 bash 2127 1907 1 1 2130 python2 2128 2127 1 1 2130 time-helper 2129 2128 1 1 2130 bash 2130 2129 2130 1 2130 dash 2131 2130 2131 1 2130 ps 2132 2130 2131 1 2130 cat 2133 2130 2131 1 2130 cat2 run_snippet dash bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2136 1907 1 1 1 python2 2137 2136 1 1 1 time-helper 2138 2137 1 1 1 bash 2139 2138 1 1 1 dash 2140 2139 1 1 1 ps 2141 2139 1 1 1 cat2 2142 2139 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 2148 sh 7 1 1 1 2148 bash 20 7 1 1 2148 bash 1426 20 1 1 2148 python3 1427 1426 1 1 2148 time-helper 1428 1427 1 1 2148 bash 1907 1428 1 1 2148 bash 2145 1907 1 1 2148 python2 2146 2145 1 1 2148 time-helper 2147 2146 1 1 2148 bash 2148 2147 2148 1 2148 dash 2149 2148 2149 1 2148 ps 2150 2148 2149 1 2148 cat2 2151 2148 2149 1 2148 dash run_snippet dash subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2154 1907 1 1 1 python2 2155 2154 1 1 1 time-helper 2156 2155 1 1 1 bash 2157 2156 1 1 1 dash 2158 2157 1 1 1 dash 2159 2158 1 1 1 ps ALIVE run_snippet dash subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2166 sh 7 1 1 1 2166 bash 20 7 1 1 2166 bash 1426 20 1 1 2166 python3 1427 1426 1 1 2166 time-helper 1428 1427 1 1 2166 bash 1907 1428 1 1 2166 bash 2162 1907 1 1 2166 python2 2163 2162 1 1 2166 time-helper 2164 2163 1 1 2166 bash 2165 2164 2165 1 2166 dash 2166 2165 2166 1 2166 dash 2167 2166 2166 1 2166 ps ALIVE run_snippet dash csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2170 1907 1 1 1 python2 2171 2170 1 1 1 time-helper 2172 2171 1 1 1 bash 2173 2172 1 1 1 dash 2174 2173 1 1 1 ps run_snippet dash csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2180 sh 7 1 1 1 2180 bash 20 7 1 1 2180 bash 1426 20 1 1 2180 python3 1427 1426 1 1 2180 time-helper 1428 1427 1 1 2180 bash 1907 1428 1 1 2180 bash 2177 1907 1 1 2180 python2 2178 2177 1 1 2180 time-helper 2179 2178 1 1 2180 bash 2180 2179 2180 1 2180 dash 2181 2180 2180 1 2180 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 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2196 1907 1 1 1 python2 2197 2196 1 1 1 time-helper 2198 2197 1 1 1 bash 2199 2198 1 1 1 mksh 2200 2199 1 1 1 ps run_snippet mksh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2207 sh 7 1 1 1 2207 bash 20 7 1 1 2207 bash 1426 20 1 1 2207 python3 1427 1426 1 1 2207 time-helper 1428 1427 1 1 2207 bash 1907 1428 1 1 2207 bash 2203 1907 1 1 2207 python2 2204 2203 1 1 2207 time-helper 2205 2204 1 1 2207 bash 2206 2205 2206 1 2207 mksh 2207 2206 2207 1 2207 ps run_snippet mksh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2210 1907 1 1 1 python2 2211 2210 1 1 1 time-helper 2212 2211 1 1 1 bash 2213 2212 1 1 1 mksh 2214 2213 1 1 1 ps run_snippet mksh bgproc yes [1] 2221 [1] + Done \ps -o $PS_COLS [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2220 sh 7 1 1 1 2220 bash 20 7 1 1 2220 bash 1426 20 1 1 2220 python3 1427 1426 1 1 2220 time-helper 1428 1427 1 1 2220 bash 1907 1428 1 1 2220 bash 2217 1907 1 1 2220 python2 2218 2217 1 1 2220 time-helper 2219 2218 1 1 2220 bash 2220 2219 2220 1 2220 mksh 2221 2220 2221 1 2220 ps run_snippet mksh fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2224 1907 1 1 1 python2 2225 2224 1 1 1 time-helper 2226 2225 1 1 1 bash 2227 2226 1 1 1 mksh 2228 2227 1 1 1 ps 2229 2227 1 1 1 cat 2230 2227 1 1 1 cat2 run_snippet mksh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2237 sh 7 1 1 1 2237 bash 20 7 1 1 2237 bash 1426 20 1 1 2237 python3 1427 1426 1 1 2237 time-helper 1428 1427 1 1 2237 bash 1907 1428 1 1 2237 bash 2233 1907 1 1 2237 python2 2234 2233 1 1 2237 time-helper 2235 2234 1 1 2237 bash 2236 2235 2236 1 2237 mksh 2237 2236 2237 1 2237 ps 2238 2236 2237 1 2237 cat 2239 2236 2237 1 2237 cat2 run_snippet mksh fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2242 1907 1 1 1 python2 2243 2242 1 1 1 time-helper 2244 2243 1 1 1 bash 2245 2244 1 1 1 mksh 2246 2245 1 1 1 ps 2247 2245 1 1 1 cat2 2248 2245 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 2255 sh 7 1 1 1 2255 bash 20 7 1 1 2255 bash 1426 20 1 1 2255 python3 1427 1426 1 1 2255 time-helper 1428 1427 1 1 2255 bash 1907 1428 1 1 2255 bash 2251 1907 1 1 2255 python2 2252 2251 1 1 2255 time-helper 2253 2252 1 1 2255 bash 2254 2253 2254 1 2255 mksh 2255 2254 2255 1 2255 ps 2256 2254 2255 1 2255 cat2 2257 2254 2255 1 2255 mksh run_snippet mksh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2260 1907 1 1 1 python2 2261 2260 1 1 1 time-helper 2262 2261 1 1 1 bash 2263 2262 1 1 1 mksh 2264 2263 1 1 1 ps 2265 2263 1 1 1 cat 2266 2263 1 1 1 cat2 run_snippet mksh bgpipe yes [1] 2273 2274 2275 [1] + Done \ps -o $PS_COLS | \cat | _tmp/cat2 [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2272 sh 7 1 1 1 2272 bash 20 7 1 1 2272 bash 1426 20 1 1 2272 python3 1427 1426 1 1 2272 time-helper 1428 1427 1 1 2272 bash 1907 1428 1 1 2272 bash 2269 1907 1 1 2272 python2 2270 2269 1 1 2272 time-helper 2271 2270 1 1 2272 bash 2272 2271 2272 1 2272 mksh 2273 2272 2273 1 2272 ps 2274 2272 2273 1 2272 cat 2275 2272 2273 1 2272 cat2 run_snippet mksh bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2278 1907 1 1 1 python2 2279 2278 1 1 1 time-helper 2280 2279 1 1 1 bash 2281 2280 1 1 1 mksh 2282 2281 1 1 1 ps 2283 2281 1 1 1 cat2 2284 2281 1 1 1 mksh run_snippet mksh bgpipe-lastpipe yes [1] 2291 2292 2293 [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 2290 sh 7 1 1 1 2290 bash 20 7 1 1 2290 bash 1426 20 1 1 2290 python3 1427 1426 1 1 2290 time-helper 1428 1427 1 1 2290 bash 1907 1428 1 1 2290 bash 2287 1907 1 1 2290 python2 2288 2287 1 1 2290 time-helper 2289 2288 1 1 2290 bash 2290 2289 2290 1 2290 mksh 2291 2290 2291 1 2290 ps 2292 2290 2291 1 2290 cat2 2293 2290 2291 1 2290 mksh run_snippet mksh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2296 1907 1 1 1 python2 2297 2296 1 1 1 time-helper 2298 2297 1 1 1 bash 2299 2298 1 1 1 mksh 2300 2299 1 1 1 mksh 2301 2300 1 1 1 ps ALIVE run_snippet mksh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2308 sh 7 1 1 1 2308 bash 20 7 1 1 2308 bash 1426 20 1 1 2308 python3 1427 1426 1 1 2308 time-helper 1428 1427 1 1 2308 bash 1907 1428 1 1 2308 bash 2304 1907 1 1 2308 python2 2305 2304 1 1 2308 time-helper 2306 2305 1 1 2308 bash 2307 2306 2307 1 2308 mksh 2308 2307 2308 1 2308 mksh 2309 2308 2308 1 2308 ps ALIVE run_snippet mksh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2312 1907 1 1 1 python2 2313 2312 1 1 1 time-helper 2314 2313 1 1 1 bash 2315 2314 1 1 1 mksh 2316 2315 1 1 1 ps run_snippet mksh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2322 sh 7 1 1 1 2322 bash 20 7 1 1 2322 bash 1426 20 1 1 2322 python3 1427 1426 1 1 2322 time-helper 1428 1427 1 1 2322 bash 1907 1428 1 1 2322 bash 2319 1907 1 1 2322 python2 2320 2319 1 1 2322 time-helper 2321 2320 1 1 2322 bash 2322 2321 2322 1 2322 mksh 2323 2322 2322 1 2322 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 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2338 1907 1 1 1 python2 2339 2338 1 1 1 time-helper 2340 2339 1 1 1 bash 2341 2340 1 1 1 zsh 2342 2341 1 1 1 ps run_snippet zsh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2350 sh 7 1 1 1 2350 bash 20 7 1 1 2350 bash 1426 20 1 1 2350 python3 1427 1426 1 1 2350 time-helper 1428 1427 1 1 2350 bash 1907 1428 1 1 2350 bash 2345 1907 1 1 2350 python2 2346 2345 1 1 2350 time-helper 2347 2346 1 1 2350 bash 2348 2347 2348 1 2350 zsh 2350 2348 2350 1 2350 ps run_snippet zsh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2353 1907 1 1 1 python2 2354 2353 1 1 1 time-helper 2355 2354 1 1 1 bash 2356 2355 1 1 1 zsh 2357 2356 1 1 1 ps run_snippet zsh bgproc yes [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2363 sh 7 1 1 1 2363 bash 20 7 1 1 2363 bash 1426 20 1 1 2363 python3 1427 1426 1 1 2363 time-helper 1428 1427 1 1 2363 bash 1907 1428 1 1 2363 bash 2360 1907 1 1 2363 python2 2361 2360 1 1 2363 time-helper 2362 2361 1 1 2363 bash 2363 2362 2363 1 2363 zsh 2365 2363 2365 1 2363 ps run_snippet zsh fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2368 1907 1 1 1 python2 2369 2368 1 1 1 time-helper 2370 2369 1 1 1 bash 2371 2370 1 1 1 zsh 2372 2371 1 1 1 ps 2373 2371 1 1 1 cat 2374 2371 1 1 1 cat2 run_snippet zsh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2382 sh 7 1 1 1 2382 bash 20 7 1 1 2382 bash 1426 20 1 1 2382 python3 1427 1426 1 1 2382 time-helper 1428 1427 1 1 2382 bash 1907 1428 1 1 2382 bash 2377 1907 1 1 2382 python2 2378 2377 1 1 2382 time-helper 2379 2378 1 1 2382 bash 2380 2379 2380 1 2382 zsh 2382 2380 2382 1 2382 ps 2383 2380 2382 1 2382 cat 2384 2380 2382 1 2382 cat2 run_snippet zsh fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2387 1907 1 1 1 python2 2388 2387 1 1 1 time-helper 2389 2388 1 1 1 bash 2390 2389 1 1 1 zsh 2391 2390 1 1 1 ps 2392 2390 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 2400 sh 7 1 1 1 2400 bash 20 7 1 1 2400 bash 1426 20 1 1 2400 python3 1427 1426 1 1 2400 time-helper 1428 1427 1 1 2400 bash 1907 1428 1 1 2400 bash 2395 1907 1 1 2400 python2 2396 2395 1 1 2400 time-helper 2397 2396 1 1 2400 bash 2398 2397 2398 1 2400 zsh 2400 2398 2400 1 2400 ps 2401 2398 2400 1 2400 cat2 run_snippet zsh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2404 1907 1 1 1 python2 2405 2404 1 1 1 time-helper 2406 2405 1 1 1 bash 2407 2406 1 1 1 zsh 2408 2407 1 1 1 ps 2409 2407 1 1 1 cat 2410 2407 1 1 1 cat2 run_snippet zsh bgpipe yes [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2416 sh 7 1 1 1 2416 bash 20 7 1 1 2416 bash 1426 20 1 1 2416 python3 1427 1426 1 1 2416 time-helper 1428 1427 1 1 2416 bash 1907 1428 1 1 2416 bash 2413 1907 1 1 2416 python2 2414 2413 1 1 2416 time-helper 2415 2414 1 1 2416 bash 2416 2415 2416 1 2416 zsh 2418 2416 2418 1 2416 ps 2419 2416 2418 1 2416 cat 2420 2416 2418 1 2416 cat2 run_snippet zsh bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2423 1907 1 1 1 python2 2424 2423 1 1 1 time-helper 2425 2424 1 1 1 bash 2426 2425 1 1 1 zsh 2427 2426 1 1 1 ps 2428 2426 1 1 1 cat2 2429 2426 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 2435 sh 7 1 1 1 2435 bash 20 7 1 1 2435 bash 1426 20 1 1 2435 python3 1427 1426 1 1 2435 time-helper 1428 1427 1 1 2435 bash 1907 1428 1 1 2435 bash 2432 1907 1 1 2435 python2 2433 2432 1 1 2435 time-helper 2434 2433 1 1 2435 bash 2435 2434 2435 1 2435 zsh 2437 2435 2437 1 2435 ps 2438 2435 2437 1 2435 cat2 2439 2435 2437 1 2435 zsh run_snippet zsh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2442 1907 1 1 1 python2 2443 2442 1 1 1 time-helper 2444 2443 1 1 1 bash 2445 2444 1 1 1 zsh 2446 2445 1 1 1 zsh 2447 2446 1 1 1 ps ALIVE run_snippet zsh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2455 sh 7 1 1 1 2455 bash 20 7 1 1 2455 bash 1426 20 1 1 2455 python3 1427 1426 1 1 2455 time-helper 1428 1427 1 1 2455 bash 1907 1428 1 1 2455 bash 2450 1907 1 1 2455 python2 2451 2450 1 1 2455 time-helper 2452 2451 1 1 2455 bash 2453 2452 2453 1 2455 zsh 2455 2453 2455 1 2455 zsh 2456 2455 2455 1 2455 ps ALIVE run_snippet zsh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2459 1907 1 1 1 python2 2460 2459 1 1 1 time-helper 2461 2460 1 1 1 bash 2462 2461 1 1 1 zsh 2463 2462 1 1 1 ps run_snippet zsh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2469 sh 7 1 1 1 2469 bash 20 7 1 1 2469 bash 1426 20 1 1 2469 python3 1427 1426 1 1 2469 time-helper 1428 1427 1 1 2469 bash 1907 1428 1 1 2469 bash 2466 1907 1 1 2469 python2 2467 2466 1 1 2469 time-helper 2468 2467 1 1 2469 bash 2469 2468 2469 1 2469 zsh 2471 2469 2469 1 2469 ps run_snippet zsh psub - [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2474 1907 1 1 1 python2 2475 2474 1 1 1 time-helper 2476 2475 1 1 1 bash 2477 2476 1 1 1 zsh 2478 2477 1 1 1 ps 2479 2477 1 1 1 cat run_snippet zsh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2488 sh 7 1 1 1 2488 bash 20 7 1 1 2488 bash 1426 20 1 1 2488 python3 1427 1426 1 1 2488 time-helper 1428 1427 1 1 2488 bash 1907 1428 1 1 2488 bash 2482 1907 1 1 2488 python2 2483 2482 1 1 2488 time-helper 2484 2483 1 1 2488 bash 2485 2484 2485 1 2488 zsh 2487 2485 2487 1 2488 ps 2488 2485 2488 1 2488 cat run_snippet bin/osh fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2491 1907 1 1 1 python2 2492 2491 1 1 1 time-helper 2493 2492 1 1 1 bash 2494 2493 1 1 1 python2 2497 2494 1 1 1 ps run_snippet bin/osh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2506 sh 7 1 1 1 2506 bash 20 7 1 1 2506 bash 1426 20 1 1 2506 python3 1427 1426 1 1 2506 time-helper 1428 1427 1 1 2506 bash 1907 1428 1 1 2506 bash 2500 1907 1 1 2506 python2 2501 2500 1 1 2506 time-helper 2502 2501 1 1 2506 bash 2503 2502 2503 1 2506 python2 2506 2503 2506 1 2506 ps run_snippet bin/osh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2509 1907 1 1 1 python2 2510 2509 1 1 1 time-helper 2511 2510 1 1 1 bash 2512 2511 1 1 1 python2 2515 2512 1 1 1 ps run_snippet bin/osh bgproc yes [%1] PID 2524 Started [%1] PID 2524 Done [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2521 sh 7 1 1 1 2521 bash 20 7 1 1 2521 bash 1426 20 1 1 2521 python3 1427 1426 1 1 2521 time-helper 1428 1427 1 1 2521 bash 1907 1428 1 1 2521 bash 2518 1907 1 1 2521 python2 2519 2518 1 1 2521 time-helper 2520 2519 1 1 2521 bash 2521 2520 2521 1 2521 python2 2524 2521 2524 1 2521 ps run_snippet bin/osh fgpipe - [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2527 1907 1 1 1 python2 2528 2527 1 1 1 time-helper 2529 2528 1 1 1 bash 2530 2529 1 1 1 python2 2533 2530 1 1 1 ps 2534 2530 1 1 1 python2 2535 2530 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 2544 sh 7 1 1 1 2544 bash 20 7 1 1 2544 bash 1426 20 1 1 2544 python3 1427 1426 1 1 2544 time-helper 1428 1427 1 1 2544 bash 1907 1428 1 1 2544 bash 2538 1907 1 1 2544 python2 2539 2538 1 1 2544 time-helper 2540 2539 1 1 2544 bash 2541 2540 2541 1 2544 python2 2544 2541 2544 1 2544 ps 2545 2541 2544 1 2544 cat 2546 2541 2544 1 2544 cat2 run_snippet bin/osh fgpipe-lastpipe - [foreground pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2549 1907 1 1 1 python2 2550 2549 1 1 1 time-helper 2551 2550 1 1 1 bash 2552 2551 1 1 1 python2 2555 2552 1 1 1 ps 2556 2552 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 2565 sh 7 1 1 1 2565 bash 20 7 1 1 2565 bash 1426 20 1 1 2565 python3 1427 1426 1 1 2565 time-helper 1428 1427 1 1 2565 bash 1907 1428 1 1 2565 bash 2559 1907 1 1 2565 python2 2560 2559 1 1 2565 time-helper 2561 2560 1 1 2565 bash 2562 2561 2562 1 2565 python2 2565 2562 2565 1 2565 ps 2566 2562 2565 1 2565 cat2 run_snippet bin/osh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2569 1907 1 1 1 python2 2570 2569 1 1 1 time-helper 2571 2570 1 1 1 bash 2572 2571 1 1 1 python2 2575 2572 1 1 1 ps 2576 2572 1 1 1 python2 2577 2572 1 1 1 cat2 run_snippet bin/osh bgpipe yes [%1] PID 2588 Started [%1] PGID 2586 Done [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2583 sh 7 1 1 1 2583 bash 20 7 1 1 2583 bash 1426 20 1 1 2583 python3 1427 1426 1 1 2583 time-helper 1428 1427 1 1 2583 bash 1907 1428 1 1 2583 bash 2580 1907 1 1 2583 python2 2581 2580 1 1 2583 time-helper 2582 2581 1 1 2583 bash 2583 2582 2583 1 2583 python2 2586 2583 2586 1 2583 ps 2587 2583 2586 1 2583 cat 2588 2583 2586 1 2583 cat2 run_snippet bin/osh bgpipe-lastpipe - [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2591 1907 1 1 1 python2 2592 2591 1 1 1 time-helper 2593 2592 1 1 1 bash 2594 2593 1 1 1 python2 2597 2594 1 1 1 ps 2598 2594 1 1 1 cat2 2599 2594 1 1 1 python2 run_snippet bin/osh bgpipe-lastpipe yes [%1] PID 2610 Started [%1] PGID 2608 Done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2605 sh 7 1 1 1 2605 bash 20 7 1 1 2605 bash 1426 20 1 1 2605 python3 1427 1426 1 1 2605 time-helper 1428 1427 1 1 2605 bash 1907 1428 1 1 2605 bash 2602 1907 1 1 2605 python2 2603 2602 1 1 2605 time-helper 2604 2603 1 1 2605 bash 2605 2604 2605 1 2605 python2 2608 2605 2608 1 2605 ps 2609 2605 2608 1 2605 cat2 2610 2605 2608 1 2605 python2 run_snippet bin/osh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2613 1907 1 1 1 python2 2614 2613 1 1 1 time-helper 2615 2614 1 1 1 bash 2616 2615 1 1 1 python2 2619 2616 1 1 1 python2 2620 2619 1 1 1 ps ALIVE run_snippet bin/osh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2629 sh 7 1 1 1 2629 bash 20 7 1 1 2629 bash 1426 20 1 1 2629 python3 1427 1426 1 1 2629 time-helper 1428 1427 1 1 2629 bash 1907 1428 1 1 2629 bash 2623 1907 1 1 2629 python2 2624 2623 1 1 2629 time-helper 2625 2624 1 1 2629 bash 2626 2625 2626 1 2629 python2 2629 2626 2629 1 2629 python2 2630 2629 2629 1 2629 ps ALIVE run_snippet bin/osh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2633 1907 1 1 1 python2 2634 2633 1 1 1 time-helper 2635 2634 1 1 1 bash 2636 2635 1 1 1 python2 2639 2636 1 1 1 ps run_snippet bin/osh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2645 sh 7 1 1 1 2645 bash 20 7 1 1 2645 bash 1426 20 1 1 2645 python3 1427 1426 1 1 2645 time-helper 1428 1427 1 1 2645 bash 1907 1428 1 1 2645 bash 2642 1907 1 1 2645 python2 2643 2642 1 1 2645 time-helper 2644 2643 1 1 2645 bash 2645 2644 2645 1 2645 python2 2648 2645 2645 1 2645 ps run_snippet bin/osh psub - [2654 2653 1 python2] has 1 children. expected 2. [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2651 1907 1 1 1 python2 2652 2651 1 1 1 time-helper 2653 2652 1 1 1 bash 2654 2653 1 1 1 python2 2657 2654 1 1 1 ps run_snippet bin/osh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2667 sh 7 1 1 1 2667 bash 20 7 1 1 2667 bash 1426 20 1 1 2667 python3 1427 1426 1 1 2667 time-helper 1428 1427 1 1 2667 bash 1907 1428 1 1 2667 bash 2660 1907 1 1 2667 python2 2661 2660 1 1 2667 time-helper 2662 2661 1 1 2667 bash 2663 2662 2663 1 2667 python2 2666 2663 2666 1 2667 ps 2667 2663 2667 1 2667 cat run_snippet _bin/cxx-dbg/osh fgproc - [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2670 1907 1 1 1 python2 2671 2670 1 1 1 time-helper 2672 2671 1 1 1 bash 2673 2672 1 1 1 osh 2674 2673 1 1 1 ps run_snippet _bin/cxx-dbg/osh fgproc yes [foreground process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2681 sh 7 1 1 1 2681 bash 20 7 1 1 2681 bash 1426 20 1 1 2681 python3 1427 1426 1 1 2681 time-helper 1428 1427 1 1 2681 bash 1907 1428 1 1 2681 bash 2677 1907 1 1 2681 python2 2678 2677 1 1 2681 time-helper 2679 2678 1 1 2681 bash 2680 2679 2680 1 2681 osh 2681 2680 2681 1 2681 ps run_snippet _bin/cxx-dbg/osh bgproc - [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2684 1907 1 1 1 python2 2685 2684 1 1 1 time-helper 2686 2685 1 1 1 bash 2687 2686 1 1 1 osh 2688 2687 1 1 1 ps run_snippet _bin/cxx-dbg/osh bgproc yes [%1] PID 2695 Started [%1] PID 2695 Done [background process] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2694 sh 7 1 1 1 2694 bash 20 7 1 1 2694 bash 1426 20 1 1 2694 python3 1427 1426 1 1 2694 time-helper 1428 1427 1 1 2694 bash 1907 1428 1 1 2694 bash 2691 1907 1 1 2694 python2 2692 2691 1 1 2694 time-helper 2693 2692 1 1 2694 bash 2694 2693 2694 1 2694 osh 2695 2694 2695 1 2694 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 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2698 1907 1 1 1 python2 2699 2698 1 1 1 time-helper 2700 2699 1 1 1 bash 2701 2700 1 1 1 osh 2702 2701 1 1 1 ps 2703 2701 1 1 1 osh 2704 2701 1 1 1 cat2 run_snippet _bin/cxx-dbg/osh fgpipe yes [foreground pipeline, last is external] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2711 sh 7 1 1 1 2711 bash 20 7 1 1 2711 bash 1426 20 1 1 2711 python3 1427 1426 1 1 2711 time-helper 1428 1427 1 1 2711 bash 1907 1428 1 1 2711 bash 2707 1907 1 1 2711 python2 2708 2707 1 1 2711 time-helper 2709 2708 1 1 2711 bash 2710 2709 2710 1 2711 osh 2711 2710 2711 1 2711 ps 2712 2710 2711 1 2711 cat 2713 2710 2711 1 2711 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 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2716 1907 1 1 1 python2 2717 2716 1 1 1 time-helper 2718 2717 1 1 1 bash 2719 2718 1 1 1 osh 2720 2719 1 1 1 ps 2721 2719 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 2728 sh 7 1 1 1 2728 bash 20 7 1 1 2728 bash 1426 20 1 1 2728 python3 1427 1426 1 1 2728 time-helper 1428 1427 1 1 2728 bash 1907 1428 1 1 2728 bash 2724 1907 1 1 2728 python2 2725 2724 1 1 2728 time-helper 2726 2725 1 1 2728 bash 2727 2726 2727 1 2728 osh 2728 2727 2728 1 2728 ps 2729 2727 2728 1 2728 cat2 run_snippet _bin/cxx-dbg/osh bgpipe - [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2732 1907 1 1 1 python2 2733 2732 1 1 1 time-helper 2734 2733 1 1 1 bash 2735 2734 1 1 1 osh 2736 2735 1 1 1 ps 2737 2735 1 1 1 osh 2738 2735 1 1 1 cat2 run_snippet _bin/cxx-dbg/osh bgpipe yes [%1] PID 2747 Started [%1] PGID 2745 Done [background pipeline] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2744 sh 7 1 1 1 2744 bash 20 7 1 1 2744 bash 1426 20 1 1 2744 python3 1427 1426 1 1 2744 time-helper 1428 1427 1 1 2744 bash 1907 1428 1 1 2744 bash 2741 1907 1 1 2744 python2 2742 2741 1 1 2744 time-helper 2743 2742 1 1 2744 bash 2744 2743 2744 1 2744 osh 2745 2744 2745 1 2744 ps 2746 2744 2745 1 2744 cat 2747 2744 2745 1 2744 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 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2750 1907 1 1 1 python2 2751 2750 1 1 1 time-helper 2752 2751 1 1 1 bash 2753 2752 1 1 1 osh 2754 2753 1 1 1 ps 2755 2753 1 1 1 cat2 2756 2753 1 1 1 osh run_snippet _bin/cxx-dbg/osh bgpipe-lastpipe yes [%1] PID 2765 Started [%1] PGID 2763 Done [background pipeline, last is builtin] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2762 sh 7 1 1 1 2762 bash 20 7 1 1 2762 bash 1426 20 1 1 2762 python3 1427 1426 1 1 2762 time-helper 1428 1427 1 1 2762 bash 1907 1428 1 1 2762 bash 2759 1907 1 1 2762 python2 2760 2759 1 1 2762 time-helper 2761 2760 1 1 2762 bash 2762 2761 2762 1 2762 osh 2763 2762 2763 1 2762 ps 2764 2762 2763 1 2762 cat2 2765 2762 2763 1 2762 osh run_snippet _bin/cxx-dbg/osh subshell - [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2768 1907 1 1 1 python2 2769 2768 1 1 1 time-helper 2770 2769 1 1 1 bash 2771 2770 1 1 1 osh 2772 2771 1 1 1 osh 2773 2772 1 1 1 ps ALIVE run_snippet _bin/cxx-dbg/osh subshell yes [subshell] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2780 sh 7 1 1 1 2780 bash 20 7 1 1 2780 bash 1426 20 1 1 2780 python3 1427 1426 1 1 2780 time-helper 1428 1427 1 1 2780 bash 1907 1428 1 1 2780 bash 2776 1907 1 1 2780 python2 2777 2776 1 1 2780 time-helper 2778 2777 1 1 2780 bash 2779 2778 2779 1 2780 osh 2780 2779 2780 1 2780 osh 2781 2780 2780 1 2780 ps ALIVE run_snippet _bin/cxx-dbg/osh csub - [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2784 1907 1 1 1 python2 2785 2784 1 1 1 time-helper 2786 2785 1 1 1 bash 2787 2786 1 1 1 osh 2788 2787 1 1 1 ps run_snippet _bin/cxx-dbg/osh csub yes [command sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2794 sh 7 1 1 1 2794 bash 20 7 1 1 2794 bash 1426 20 1 1 2794 python3 1427 1426 1 1 2794 time-helper 1428 1427 1 1 2794 bash 1907 1428 1 1 2794 bash 2791 1907 1 1 2794 python2 2792 2791 1 1 2794 time-helper 2793 2792 1 1 2794 bash 2794 2793 2794 1 2794 osh 2795 2794 2794 1 2794 ps run_snippet _bin/cxx-dbg/osh psub - [2801 2800 1 osh] has 1 children. expected 2. [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 1 sh 7 1 1 1 1 bash 20 7 1 1 1 bash 1426 20 1 1 1 python3 1427 1426 1 1 1 time-helper 1428 1427 1 1 1 bash 1907 1428 1 1 1 bash 2798 1907 1 1 1 python2 2799 2798 1 1 1 time-helper 2800 2799 1 1 1 bash 2801 2800 1 1 1 osh 2802 2801 1 1 1 ps run_snippet _bin/cxx-dbg/osh psub yes [process sub] PID PPID PGID SID TPGID COMMAND 1 0 1 1 2810 sh 7 1 1 1 2810 bash 20 7 1 1 2810 bash 1426 20 1 1 2810 python3 1427 1426 1 1 2810 time-helper 1428 1427 1 1 2810 bash 1907 1428 1 1 2810 bash 2805 1907 1 1 2810 python2 2806 2805 1 1 2810 time-helper 2807 2806 1 1 2810 bash 2808 2807 2808 1 2810 osh 2809 2808 2809 1 2810 ps 2810 2808 2810 1 2810 cat Wrote _tmp/process-table/index.html