Why won't the command in shell_exec be executed?

  • 0
    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');
    Ubuntu Anonymous, Oct 21, 2020

  • 1 Answers
  • 0
    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
    Samuel Clay

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!