PHP tmux and screen dont behave correctly (no launch, no new session, no new windows)
After some struggling, with assistance googleguy@freenode#php i am finally beat this down.
It turns out that PHP 7.1 (in my case) have no such issue at all.
I am succeed on executing this sequence:
shell_exec("tmux new-session -s session_name -d");shell_exec("tmux send -t session_name gedit ENTER");
Poke me it it not work with you