Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 10, 2019 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/6d1049e9cf5c82269af899386b5087d7 to your computer and use it in GitHub Desktop.
Save Whateverable/6d1049e9cf5c82269af899386b5087d7 to your computer and use it in GitHub Desktop.
committable6
all my $proc := run('sh', '-c', 'sleep 2 && echo hi', :out); say $proc.exitcode; $proc.out.slurp.put;
¦«2014.01»:
in sub run at src/gen/m-CORE.setting:724
in block at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.02»:
in sub run at src/gen/m-CORE.setting:728
in block at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.03.01,2014.04»:
in sub run at src/gen/m-CORE.setting:740
in block at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.05»:
in sub run at src/gen/m-CORE.setting:747
in block at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.06»:
in sub run at src/gen/m-CORE.setting:726
in block at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.07»:
in sub run at src/gen/m-CORE.setting:713
in block at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.08»:
in sub run at src/gen/m-CORE.setting:739
in block at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.09»:
in sub run at src/gen/m-CORE.setting:811
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.10»:
in sub run at src/gen/m-CORE.setting:813
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2014.11,2014.12»:
in sub run at src/gen/m-CORE.setting:818
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.01.1»:
Unexpected named parameter 'out' passed
in sub run at src/gen/m-CORE.setting:830
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.02»:
Unexpected named parameter 'out' passed
in sub run at src/gen/m-CORE.setting:821
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.03»:
Unexpected named parameter 'out' passed
in sub run at src/gen/m-CORE.setting:838
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.04»:
Unexpected named parameter 'out' passed
in sub run at src/gen/m-CORE.setting:854
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.05»:
Unexpected named argument 'out' passed
in block <unit> at /tmp/DuLwW4qKQA:1
in any <unit-outer> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.06»:
Unexpected named argument 'out' passed
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.07.2»:
0
Method 'put' not found for invocant of class 'Str'
in block <unit> at /tmp/DuLwW4qKQA:1
Saw 1 occurrence of deprecated code.
================================================================================
Method slurp (from IO::Handle) seen at:
/tmp/DuLwW4qKQA, line 1
Deprecated since v2014.10, will be removed with release v2015.9!
Please use $handle.slurp-rest instead.
--------------------------------------------------------------------------------
Please contact the author to have these occurrences of deprecated code
adapted, so that this message will disappear!
Please note that *ALL* deprecated features will be removed at the RC-0 release
(expected September 2015).
«exit code = 1»
¦«2015.09,2015.10,2015.11»:
0
Method 'slurp' not found for invocant of class 'IO::Pipe'
in block <unit> at /tmp/DuLwW4qKQA:1
«exit code = 1»
¦«2015.12,2016.01.1,2016.02,2016.03,2016.04,2016.05,2016.06,2016.07.1,
2016.08.1,2016.09»:
0
Method 'slurp' not found for invocant of class 'IO::Pipe'
in block <unit> at /tmp/DuLwW4qKQA line 1
«exit code = 1»
¦«2016.10,2016.11,2016.12,2017.01,2017.02»:
0
No such method 'slurp' for invocant of type 'IO::Pipe'
in block <unit> at /tmp/DuLwW4qKQA line 1
«exit code = 1»
¦«2017.03»:
0
No such method 'slurp' for invocant of type 'IO::Pipe'
in block <unit> at /tmp/DuLwW4qKQA line 1
sh: line 0: echo: write error: Broken pipe
«exit code = 1»
¦«2017.04.3,2017.05,2017.06,2017.07,2017.08,2017.09,2017.10,2017.11,
2017.12,2018.01,2018.02.1,2018.03,2018.04.1,2018.05,2018.06,2018.08,
2018.09,2018.10,2018.11,2018.12,2019.03.1,2019.07.1,HEAD(15e0601)»:
0
hi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment