java.io.IOException

Error running exec(). Command: [/system/bin/su, -c, reboot now] Working Directory: null Environment: null

Samebug tips2

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web14879

  • via Stack Overflow by Suniel
    , 9 months ago
    Error running exec(). Command: [/system/bin/su, -c, reboot now] Working Directory: null Environment: null
  • via Google Groups by karamu, 1 month ago
    Error running exec(). Command: [/system/bin/su, -c, reboot] Working Directory: null Environment: null
  • Error running exec(). Command: [su, -c, reboot] Working Directory: null Environment: null
  • Stack trace

    • java.io.IOException: Error running exec(). Command: [/system/bin/su, -c, reboot now] Working Directory: null Environment: null at java.lang.ProcessManager.exec(ProcessManager.java:211) at java.lang.Runtime.exec(Runtime.java:173) at java.lang.Runtime.exec(Runtime.java:128) at com.android.onlinepayment.activity.SystemSubMenuActivity$1.onClick(SystemSubMenuActivity.java:49) at android.view.View.performClick(View.java:5184) at android.view.View$PerformClick.run(View.java:20910) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5942) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 week ago
    3 times, 7 months ago
    Once, 7 months ago
    6 times, 8 months ago
    5 times, 9 months ago
    85 more bugmates