I use the code below to run a command by C in Linux, I can get only the output of this function, how can I detect if it was run successfully? Are there any return codes representing this?I use the code below to run a command by C in L
I use the code below to run a command by C in Linux, I can get only the output of this function, how can I detect if it was run successfully? Are there any return codes representing this?I use the code below to run a command by C in L