screencloud
screencloud copied to clipboard
Shell script error handeling
Hello,
It would be awesome if the 'Shell script' upload feature helps by finding a problem. The only information the console gives is 'Failed to run command: (cmd)' ~~The command works for me from every directory, I have no idea why it doesn't work.~~
Command: /home/adr/Desktop/fs/upload.sh {s}
upload.sh contents (The java file will handle the rest of it, just accepts one argument that's the file path)
java -jar /home/adr/Desktop/fs/upl.jar $1
Thanks
EDIT: Okay, I got it working, turned out I forgot the #!/bin/bash.
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed after 30 days.
This issue was closed because of inactivity. If this issue is still relevant, please re-open a new issue.