fix: never use a shell
This commit is contained in:
@@ -10,8 +10,8 @@ $echo = (new Command('echo'))
|
||||
->stdout(Stdio::piped())
|
||||
->spawn();
|
||||
|
||||
$cat = (new Command('cat'))
|
||||
(new Command('cat'))
|
||||
->stdin(Stdio::stream($echo->stdout))
|
||||
->status();
|
||||
|
||||
// Prints "Hello, World!\n"
|
||||
// Hello, World!
|
||||
|
||||
Reference in New Issue
Block a user