Closed oTree-org closed 2 years ago
The behaviour seen on Windows is due to how processes are started.
Does anyone know how to start processes similar to Linux/OSX?
I noticed the same and opened a pull request for that: https://github.com/nickstenning/honcho/pull/207
Huh. As it happens I do now have a Windows machine I can test on. I'll take a look. Thank you @benediktarnold.
Would love to see the fix for this get merged.
Closed by #207.
I have a Procfile with 3 commands. When I run
honcho start
on Linux or OSX, I get the combined output of the 3 commands in my terminal window, as expected:However, when I execute the same command on Windows, it pops up several black DOS windows, one for each command in my Procfile. Rather than showing the unified output like in the pasted example above, each command's output is only shown in its own window. I don't like this because when one process crashes, its window closes right away before I can read the traceback. Also, I find it is not very usable to manage all these different windows.
Also, if one black window crashes, the PowerShell window I used to launch
foreman start
now keeps outputting this line repeatedly, until I close all black windows:I tested on Windows 8 and 10, and using CMD or PowerShell; same issue.
Is this by design that Windows behaves differently here? Is there a way I can get the output more consistent with Unix? (This same behavior also occurs with Foreman and forego.)