View Single Post
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#251
Originally Posted by rooted View Post
#!/bin/sh
-dial command-
sleep 290
-end call command-


then execute this script with dcew:

sh /path/script.sh | echo ""
Doesn't this make problems with a time-out? I think DCEW might not wait that long for a script to be ending.
Maybe this could work around:
sh /path/script.sh & ; echo ""
This way, the script would run in background and DCEW would receive the 'output' immediately. I didn't test it, just an idea.