|
@@ -67,7 +67,7 @@ |
|
|
block discarded – undo |
|
67
|
67
|
shell_exec(sprintf('%s &', $this->command, $outputFile)); |
|
68
|
68
|
break; |
|
69
|
69
|
case self::OS_NIX: |
|
70
|
|
- $this->pid = (int)shell_exec(sprintf('%s %s %s 2>&1 & echo $!', $this->command, ($append) ? '>>' : '>', $outputFile)); |
|
|
70
|
+ $this->pid = (int) shell_exec(sprintf('%s %s %s 2>&1 & echo $!', $this->command, ($append) ? '>>' : '>', $outputFile)); |
|
71
|
71
|
break; |
|
72
|
72
|
default: |
|
73
|
73
|
throw new RuntimeException(sprintf( |
Please login to merge, or discard this patch.