开发者

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

开发者 https://www.devze.com 2023-01-08 01:48 出处:网络
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.

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

精彩评论

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