sonic-swss-common
sonic-swss-common copied to clipboard
The pclose() function returns -1 if error is detected for executing s…
The pclose () function will return the termination state of the shell, which is the end state of the subroutine. If an error occurs, pclose() function returns -1, and the cause of the error is stored in errno.
Signed-off-by: Irene Pan [email protected]