screencloud icon indicating copy to clipboard operation
screencloud copied to clipboard

Shell script error handeling

Open Matsv opened this issue 8 years ago • 1 comments

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.

Matsv avatar Apr 13 '16 17:04 Matsv

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.

github-actions[bot] avatar May 03 '24 02:05 github-actions[bot]

This issue was closed because of inactivity. If this issue is still relevant, please re-open a new issue.

github-actions[bot] avatar Jun 11 '24 02:06 github-actions[bot]