cmd is not a terminal either.

IIUC cmd uses Windows Console to display output and get user input from a window if it is not already in one, so it is in fact a combination of terminal and shell. IIUC Geany is a GUI program, so it doesn't have a console, so when it spawns cmd a new console is opened. Launching cmd in an existing console obviously uses that console.

a new temporary "sh" run script is written every execute

can u share that itself?

https://github.com/geany/geany/blob/b9891f2912a7e7374e3121f74b587af1e7b3901d/src/build.c#L1161

what? the "re-writing of the script" or "the replacement for the whole command: cmd.exe /Q /C %c "?

all of the above


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3302/1257133528@github.com>