@@ -51,8 +51,8 @@ discard block |
||
51 | 51 | { |
52 | 52 | $command = "tail -F {$this->file}"; |
53 | 53 | $descriptors = array( |
54 | - 0 => array("pipe", "r"), // stdin is a pipe that the child will read from |
|
55 | - 1 => array("pipe", "w"), // stdout is a pipe that the child will write to |
|
54 | + 0 => array("pipe", "r"), // stdin is a pipe that the child will read from |
|
55 | + 1 => array("pipe", "w"), // stdout is a pipe that the child will write to |
|
56 | 56 | 2 => array("file", $this->error_file, "a") // stderr is a file to write to |
57 | 57 | ); |
58 | 58 | |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | */ |
78 | 78 | public function close() |
79 | 79 | { |
80 | - if(!is_resource($this->process)) { |
|
80 | + if (!is_resource($this->process)) { |
|
81 | 81 | return; |
82 | 82 | } |
83 | 83 | $status = proc_get_status($this->process); |