Skip to content

Commit

Permalink
Make sure Proc.pid is Nil if we didn't run yet
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Mar 29, 2018
1 parent 0581613 commit 5ad102e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Proc.pm6
Expand Up @@ -7,7 +7,7 @@ my class Proc {
has IO::Pipe $.err;
has $.exitcode = -1; # distinguish uninitialized from 0 status
has $.signal;
has $.pid;
has $.pid is default(Nil);
has @.command;

has Proc::Async $!proc;
Expand Down

0 comments on commit 5ad102e

Please sign in to comment.