opendylan icon indicating copy to clipboard operation
opendylan copied to clipboard

dylan-environment and dylan-compiler are not terminal-child-friendly

Open promovicz opened this issue 2 years ago • 1 comments

While creating Docker images I noticed that calling an external shell with "os /bin/sh" does not seem to work correctly terminal-wise. Output from the child shell is garbled and it doesn't display a prompt. It seems like dylan-environment puts the terminal in raw mode without resetting it before starting the child, or something similar.

promovicz avatar Nov 22 '21 16:11 promovicz

The os command redirects the output of the child process to a pipe so that it can use the environment's regular message output. This allows the output to go to the right place if you're using the Tools > Command Line... window in the GUI, but it's unnecessary if you're just using the CLI environment.

housel avatar Aug 16 '22 14:08 housel