Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29358 Discussions

How to avoid dos command window to pop up when using "systemqq"?

intelhelp2009
Beginner
901 Views
Hi, when I used "systemqq" to run some commands, a dos command window would appear first. How to avoid that window? in C#, you could set process.startinfo.useshellexecute=false. But how to do that in Fortran?

Thanks!
0 Kudos
2 Replies
Steven_L_Intel1
Employee
901 Views
Use one of the other methods to run a command. You can use CreateProcess or ShellExecute (I am puzzled about the C# setting to NOT use ShellExecute, because ShellExecute doesn't bring up a console window.) I discussed both of these techniques in the old Visual Fortran Newsletter.
0 Kudos
intelhelp2009
Beginner
901 Views
Thanks, Steve! I just heard of that use in C#, but have nevertried it by myself.
0 Kudos
Reply