Hello, I am trying to create a child process to execute cmd.exe.
When I used process::Command to execute "cmd", the process of "cmd" was created one by one and never stopped. However, when I used process::Command to execute other exe, nothing strange happened. Is there any advice?
Thanks
Well this seems to be a Windows specific problem and unfortunately, I don't have a Windows machine at hand to test this out.
However, on reading the docs, I think this is not the proper way to launch a terminal on Windows. The docs are here.
You may want to leave out the creation_flag and try it that way.