Michael Goerz wrote:
Hi,
when my program uses system(), system("latex temp.tex") in this case, to
execute some DOS-command on Windows, I always have the prompt popping up
in front while the command is running. How can I prevent this? I simply
want to execute the command, but not see any DOS-boxes (just like in an
Linux environment).
What the function system does with the passed string (and the passed
string itself) is highly system-specific, so the answer is:
Within the scope of standard C, nothing can be done.
<OT>
I guess it is more a question of how DOS-commands are executed on
your system; maybe you have to change that in the registry or you
have to use another command line or ...
I really do not know.
</OT>
Probably a Windows-NG from comp.os.ms-windows.* can help you.
Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.