S
S
Schoolboy.2015-10-18 10:23:01
linux
Schoolboy., 2015-10-18 10:23:01

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

1 answer(s)
S
Schoolboy., 2015-10-18
@viphorizon

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 question

Ask a Question

731 491 924 answers to any question