-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
I'd like to run two commands in series on the ttyd command line. Normally I'd wrap the commands in a shell script and run that, but unfortunately that prevents SIGWINCH events from reaching the command, and I can't resize the web browser without corrupting the layout.
Is it possible to run
echo hello; vi /tmp/foo
on the ttyd command line? I'm running from php, if that matters.
thanks!
-craig
Actual code in question, which doesn't work:
exec("export HOME=/home/pi/; /home/pi/ax25_setup.sh; sudo su -c \"/usr/bin/ttyd -W -p 7688 -t fontSize=16 -o -s SIGTERM **echo hello; /usr/local/bin/paracon.pyz** > /dev/null 2> /dev/null &\" pi " );
Metadata
Metadata
Assignees
Labels
No labels