system(1, "calc.exe")
Note that is will only work on Windows and is totally unportable to other operating systems -- on most other systems you want to do a fork followed by exec.
In reply to Re: system("start $command") in Win32
by dirving
in thread system("start $command") in Win32
by bhardage
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |