Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in a c++ for create_process which header file require?
Posted
Comments
CPallini 9-Feb-15 3:44am    
There is no create_process in Linux. There are the functions suggested by Jochen Arndt in his solution.

1 solution

This depends on the used functions. With Linux type "man function_name" to open the function's manual page which states the required header files on top.

With fork and exec the header file would be unistd.h and with posix_spawn it would be spawn.h.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900