system() without window

okibi okibi at ratedo.com
Wed Jul 11 10:10:45 PDT 2007


Is there documentation somewhere on how these work? Also, will they work on both Windows and Linux?

Thanks!

Regan Heath Wrote:

> okibi wrote:
> > Hey,
> > 
> > Is it possible to run a command with the system() function without having the program open up a command prompt until it finishes?
> > 
> > Thanks!
> 
> I doubt it.. but you can call CreateProcess and prevent the window 
> appearing.  Also there is popen which may prevent it.  Both are more 
> complicated than system but offer more flexibility too.
> 
> Regan



More information about the Digitalmars-d-learn mailing list