0

I have an exe program and I want to invoke it in my program.

However, the exe has too much output in console and the systemqq function seems can not block it.

the signal of finishing the exe is demanded so I have to wait the termination of the program.

I have the source of exe program and considered to change it to a window program instead of a console program, but it is much more complex than doing this in C/C++.

Win32 api Creating Processes is also considered, but I have no idea how to use it in Fortran.

I am not an expert in Fortran. Many thanks in advance.

1 Answer 1

1

If the executable is a.exe, you can redirect its output to the Windows equivalent of /dev/null using

a.exe > nul
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.