Skip to content

Commit da5576f

Browse files
Fix ProcessLauncher on Windows (#25)
1 parent c0d9262 commit da5576f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProcessLauncher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function run(array $items): void
106106
}
107107

108108
// Stream the data segment to the process' input stream
109-
$currentInputStream->write($item."\n");
109+
$currentInputStream->write($item.PHP_EOL);
110110

111111
++$numberOfStreamedItems;
112112
}

0 commit comments

Comments
 (0)