View Single Post
Old 10-23-2008, 08:22 AM   #43
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
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).
Antartica is offline   Reply With Quote