开发者

I want to call one command(user defined) from C program(Windows)

I want to call one command(user defined) from C prog开发者_C百科ram(Windows). Can you tell me the function available?


system() is the simplest way to call external programs.

It's a matter of doing something like:

system ("runme.exe");

The Win32 API has a lot of process control calls as well, which give you better control and monitoring. Look for CreateProcess and its brethren.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜