- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve! I just heard of that use in C#, but have nevertried it by myself.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page