system() without window

Regan Heath regan at netmail.co.nz
Wed Jul 11 08:27:48 PDT 2007


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