execut command give top: failed tty get

by NigHamza   Last Updated July 09, 2018 17:00 PM

I have a problem when execut this line bellow:

sudo /usr/bin/env TERM=xterm /usr/bin/php /home/folder/folder/script.php -b val -a 2018-07-01

its give me a error top: failed tty get i try it with php -f it give me another problem similar to php --help

[0] => Array
            [error] => 1
            [return] =>     top: failed tty get


result that i want is to execut command with success not error i execut this command with ssh in a php script

Tags : centos php ssh xterm

Related Questions

shift + F2 in tmux with putty

Updated June 21, 2017 08:00 AM

OS X Terminal lines don't go into scrollback

Updated January 02, 2018 03:00 AM