File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,16 @@ class Shell
21
21
protected $ input ;
22
22
protected $ pipes ;
23
23
protected $ process ;
24
- protected $ startTime ;
25
24
protected $ status ;
26
- protected $ timeout ;
27
25
28
- public function __construct (string $ command , string $ input = null , float $ timeout = 10 )
26
+ public function __construct (string $ command , string $ input = null )
29
27
{
30
28
if (!\function_exists ('proc_open ' )) {
31
29
throw new RuntimeException ('Required proc_open could not be found in your PHP setup ' );
32
30
}
33
31
34
32
$ this ->command = $ command ;
35
33
$ this ->input = $ input ;
36
- $ this ->timeout = $ timeout ;
37
34
$ this ->status = null ;
38
35
}
39
36
@@ -89,8 +86,6 @@ public function execute()
89
86
90
87
$ this ->setInput ();
91
88
$ this ->updateStatus ();
92
-
93
- $ this ->startTime = microtime (true );
94
89
}
95
90
96
91
public function getOutput ()
You can’t perform that action at this time.
0 commit comments