Opening terminal windows from command line app
-
I need to command line program that starts other command line applications in their own window. I can use spawn or ecec to run the programs but they run in the main window, not their own. I tried using ShellExecute, but I got a linker error. Does a DOS terminal window have a program name I can call using system or spawn? Any suggestions? Thanks
-
I need to command line program that starts other command line applications in their own window. I can use spawn or ecec to run the programs but they run in the main window, not their own. I tried using ShellExecute, but I got a linker error. Does a DOS terminal window have a program name I can call using system or spawn? Any suggestions? Thanks
malaugh wrote:
but they run in the main window, not their own
use CreateProcess[^]and set CREATE_NEW_CONSOLE in their process creation flag.
-
malaugh wrote:
but they run in the main window, not their own
use CreateProcess[^]and set CREATE_NEW_CONSOLE in their process creation flag.
-
I need to command line program that starts other command line applications in their own window. I can use spawn or ecec to run the programs but they run in the main window, not their own. I tried using ShellExecute, but I got a linker error. Does a DOS terminal window have a program name I can call using system or spawn? Any suggestions? Thanks
malaugh wrote:
I tried using ShellExecute, but I got a linker error.
Did you link with Shell32.lib? If so, what was the linker error?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
malaugh wrote:
I tried using ShellExecute, but I got a linker error.
Did you link with Shell32.lib? If so, what was the linker error?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne