try this Code: sh -c "echo rootme | devel-su -c '/home/user/scripts/restartbme.sh
sh -c "echo rootme | devel-su -c '/home/user/scripts/restartbme.sh