Commit bfcc6fe7 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #48 from alexbowers/alexbowers-patch-1

Bug fixes for windows machines
parents ecf0f2b0 a61637f4
......@@ -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