I need some basic information regarding the return values when the exec() function is successfully executed. Especially what should be the value of the ‘return_var’ when exec is successful and at the same time what would be in the output array as well and vice-versa.
In my case I am getting a value of return_var = -6.
Does it have any proper meaning?
Thanks
It returns the return value of the executed program. It thus depends on the executed program on what that return value means.