>  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 or view it on GitHub:
https://github.com/geany/geany/issues/3302#issuecomment-1257133528
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3302/[email protected]>

Reply via email to