From f5187de9f44b28c0655dc000b7758ac41463ad89 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sat, 31 Dec 2011 01:15:54 +0000 Subject: [PATCH] Fix arguments to proc_open --- source/lib/SihnonFramework/ForegroundTask.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/SihnonFramework/ForegroundTask.class.php b/source/lib/SihnonFramework/ForegroundTask.class.php index 3434c4f..837a2fc 100644 --- a/source/lib/SihnonFramework/ForegroundTask.class.php +++ b/source/lib/SihnonFramework/ForegroundTask.class.php @@ -35,7 +35,7 @@ class SihnonFramework_ForegroundTask { ); $pipes = array(); - $process = proc_open($command, $descriptors, $pipes); + $process = proc_open($command, $descriptors, $pipes, $cwd, $env); stream_set_blocking($pipes[self::PIPE_STDIN], 0); // Make stdin/stdout/stderr non-blocking stream_set_blocking($pipes[self::PIPE_STDOUT], 0);