Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Mar 3, 2020
1 parent 9ea2078 commit 762d98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Concerns/HasProcess.php
Expand Up @@ -10,7 +10,7 @@ trait HasProcess
public function getProcess(): Process
{
return blink()->once("process.{$this->id}", function () {
$process = new Process($this->getProcessCommand());
$process = Process::fromShellCommandline($this->getProcessCommand());

$process->setTimeout($this->getDefinition()->timeoutInSeconds());

Expand Down

0 comments on commit 762d98a

Please sign in to comment.