How to call a executable file on Unix?# Unix - 噫吁兮,危乎高哉
a*e
1 楼
I am writing a C++ program on Unix system. I want to call an executable file
in my
program.
It seems that the function system() is designed for calling system command.
Both _spawnl and _exeul only work on NT or Windows.
Which function should I use? Is there such a function in ANSI? If not, how to
solve this problem?
in my
program.
It seems that the function system() is designed for calling system command.
Both _spawnl and _exeul only work on NT or Windows.
Which function should I use? Is there such a function in ANSI? If not, how to
solve this problem?