Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
One more use of CLONE-LIST-DECONTAINERIZED
  • Loading branch information
lizmat committed Jan 25, 2015
1 parent 8d7542d commit 371434f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/core/Proc/Async.pm
Expand Up @@ -162,12 +162,6 @@ my class Proc::Async {
$!started = True;

my %ENV := $ENV ?? $ENV.hash !! %*ENV;

my Mu $args-without := nqp::list(nqp::decont($!path.Str));
for @!args.eager {
nqp::push($args-without, nqp::decont(.Str));
}

$!exit_promise = Promise.new;

my Mu $callbacks := nqp::hash();
Expand All @@ -189,7 +183,7 @@ my class Proc::Async {
nqp::bindkey($callbacks, 'write', True) if $.w;

$!process_handle := nqp::spawnprocasync($scheduler.queue,
$args-without,
CLONE-LIST-DECONTAINERIZED(@!args),
$*CWD.Str,
CLONE-HASH-DECONTAINERIZED(%ENV),
$callbacks,
Expand Down

0 comments on commit 371434f

Please sign in to comment.