Skip to content

Commit 13380da

Browse files
committed
Removed timeout - not used anywhere for now
1 parent 2d0f815 commit 13380da

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Helper/Shell.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,16 @@ class Shell
2121
protected $input;
2222
protected $pipes;
2323
protected $process;
24-
protected $startTime;
2524
protected $status;
26-
protected $timeout;
2725

28-
public function __construct(string $command, string $input = null, float $timeout = 10)
26+
public function __construct(string $command, string $input = null)
2927
{
3028
if (!\function_exists('proc_open')) {
3129
throw new RuntimeException('Required proc_open could not be found in your PHP setup');
3230
}
3331

3432
$this->command = $command;
3533
$this->input = $input;
36-
$this->timeout = $timeout;
3734
$this->status = null;
3835
}
3936

@@ -89,8 +86,6 @@ public function execute()
8986

9087
$this->setInput();
9188
$this->updateStatus();
92-
93-
$this->startTime = microtime(true);
9489
}
9590

9691
public function getOutput()

0 commit comments

Comments
 (0)