Answer the question
In order to leave comments, you need to log in
Why is the command not being executed in shell_exec?
shell_exec('sudo screen -S ch25565 java -Xincgc -Xmx1024M -Xms60M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -Dfile.encoding=UTF-8 -jar /home/ch1/ch.jar');
Answer the question
In order to leave comments, you need to log in
sudo screen -d -m -S ch25565 java -Xincgc -Xmx1024M -Xms60M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -Dfile.encoding=UTF-8 -jar ch.jar
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question