Skip to content

Commit d941e8a

Browse files
[Process] remove false-positive BC breaking exception on Windows
1 parent d21aa19 commit d941e8a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Process/Process.php

-4
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,6 @@ public function start(callable $callback = null/*, array $env = array()*/)
331331
}
332332

333333
if (!is_dir($this->cwd)) {
334-
if ('\\' === DIRECTORY_SEPARATOR) {
335-
throw new RuntimeException('The provided cwd does not exist.');
336-
}
337-
338334
@trigger_error('The provided cwd does not exist. Command is currently ran against getcwd(). This behavior is deprecated since version 3.4 and will be removed in 4.0.', E_USER_DEPRECATED);
339335
}
340336

0 commit comments

Comments
 (0)