Commit 39f9dddb authored by Alex Bowers's avatar Alex Bowers

Allow TTY output from process

This allows us to get the coloured output from Process.
parent b6b9c454
......@@ -64,6 +64,8 @@ class NewCommand extends Command
];
$process = new Process(implode(' && ', $commands), $directory, null, null, null);
$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