From 1aefe7a76237adf7240c3839985a96b2fa2e6bea Mon Sep 17 00:00:00 2001 From: Kris Wallsmith Date: Wed, 8 Sep 2010 15:11:37 -0700 Subject: [PATCH] [Process] made cwd argument optional --- src/Symfony/Component/Process/Process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Process/Process.php b/src/Symfony/Component/Process/Process.php index 3dd24e8b51..03b621551d 100644 --- a/src/Symfony/Component/Process/Process.php +++ b/src/Symfony/Component/Process/Process.php @@ -42,7 +42,7 @@ class Process * * @throws \RuntimeException When proc_open is not installed */ - public function __construct($commandline, $cwd, array $env = array(), $stdin = null, $timeout = 60, array $options = array()) + public function __construct($commandline, $cwd = null, array $env = array(), $stdin = null, $timeout = 60, array $options = array()) { if (!function_exists('proc_open')) { throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.');