- Jun 6, 2020
- 11,559
- 4,422
Hi, All
Who uses jShell under Ubunta ?
What is correct way to start commands ?
If to prepare commands - they work in the terminal, but when try to run by jShell - always error
What file, what directory ? Work directory is existing for sure (it's File.DirApp).
And it's about any other command in a single string.
Trying to start so:
B4X:
Who uses jShell under Ubunta ?
What is correct way to start commands ?
If to prepare commands - they work in the terminal, but when try to run by jShell - always error
org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "echo PASSWORD | sudo -S reboot" (in directory "/home/vlad/tempjars"): error=2, No such file or directory)
Click to expand...
org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "/usr/bin/ls /" (in directory "/usr/bin"): error=2, No such file or directory)
Click to expand...
What file, what directory ? Work directory is existing for sure (it's File.DirApp).
And it's about any other command in a single string.
Trying to start so:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید