Is it possible to call a command inside a thread

后端 未结 0 1999
無奈伤痛
無奈伤痛 2020-12-29 07:08

Generally while writing a c/cpp program, if i ever need to execute any bash command for which there is no c library, i fork a child and then do execvp on it by passing a scr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题