I mean full path to the command you are trying to execute with OSExecute function. In your case:
sapcontrol -nr 00 -function OSExecute "/bin/pwd" 0 30
I mean full path to the command you are trying to execute with OSExecute function. In your case:
sapcontrol -nr 00 -function OSExecute "/bin/pwd" 0 30