[Github-comments] Re: [geany/geany] Geany can't find Mono's `mcs` (Discussion #3776)
Closed #3776 as resolved. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3776 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Geany can't find Mono's `mcs` (Discussion #3776)
The solution is to launch `mcs` with `cmd /c`. I edited `filetypes.cs` and it worked. Thank you. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3776#discussioncomment-8616361 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Geany can't find Mono's `mcs` (Discussion #3776)
The solution is to launch the program with the shell. You still use `CreateProcessW`, but the process will be `cmd.exe`. For example: `cmd /c external_program /external_program_switch`. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3776#discussioncomment-8616159 You are receiving this because you are subscribed to this thread. Message ID:
[Github-comments] Re: [geany/geany] Geany can't find Mono's `mcs` (Discussion #3776)
The code in Geany to spawn build commands on Windows is Windows specific. It uses `CreateProcessW` which says "If the file name does not contain an extension, .exe is appended." so it is assumed as `.exe` but by Windows, not Geany. On the command line the shell probably does the checking for `.bat` and other stuff but there is no shell involved in build commands in Geany. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/3776#discussioncomment-8615114 You are receiving this because you are subscribed to this thread. Message ID: