You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing the default docker.run promise example and on Windows, I observed some very odd behavior - after the script runs, the program just doesn't stop!
I thought it's something odd with the stream, or stdout, so I tried stream.end, and process.stdout.end() and even process.exit(), but none of them stop the program.
If I run the same code on Mac, the program ends gracefully after printing the output.StatusCode of zero. But on Windows, it still prints the zero and then just... sits there...
Am I going mad? Is there some reason process.exit wouldn't work on Windows?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Open a new issue if needed.
Folks,
I'm testing the default docker.run promise example and on Windows, I observed some very odd behavior - after the script runs, the program just doesn't stop!
I thought it's something odd with the stream, or stdout, so I tried stream.end, and process.stdout.end() and even process.exit(), but none of them stop the program.
If I run the same code on Mac, the program ends gracefully after printing the output.StatusCode of zero. But on Windows, it still prints the zero and then just... sits there...
Am I going mad? Is there some reason process.exit wouldn't work on Windows?
I tried the following on Windows -
Windows 10 Pro, Docker is running with WSL2. By the way, the docker container exits gracefully on container remove. Kudos on the awesome library!
The text was updated successfully, but these errors were encountered: