Quote:
Originally Posted by ericshliao
Thanx. But it doesn't work. I can't start myapp.
I used a script run.sh to call myapp.sh, so that I can run it from contentlister.
|
It could be a typo, or a problem with relative paths; certainly that approach should work.
Try with:
Code:
#!/bin/sh
/path/to/myapp/myapp 2>err.log >out.log
I've also simplified the script to be in the safe side (no exec, no redirection to open fd).