Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29284 Discussions

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

intelhelp2009
Beginner
800 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
800 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
800 Views
Thanks, Steve! I just heard of that use in C#, but have nevertried it by myself.
0 Kudos
Reply