Commit a61637f4 authored by Alex Bowers's avatar Alex Bowers

Bug fixes for windows machines

parent 59b37110
......@@ -65,7 +65,9 @@ class NewCommand extends Command
$process = new Process(implode(' && ', $commands), $directory, null, null, null);
$process->setTty(true);
if ('\\' !== DIRECTORY_SEPARATOR && file_exists('/dev/tty') && is_readable('/dev/tty')) {
$process->setTty(true);
}
$process->run(function ($type, $line) use ($output) {
$output->write($line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment