mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Feb. 04 2006,23:20 |
|
One way to do it is to run the command in a script instead of directly running the command. This way you can add a "read" command to the end of the script, which waits for user input before continuing. For example, your command in flua could be something like this:
Code Sample | execute("aterm +tr -T md5check -e scriptname "..browse) |
and the script would look something like this:
Code Sample | #!/bin/sh md5check $1 read anykey |
Another way to do it is to redirect output to a temp file instead of /dev/null, then read that file back into flua. This would let you do it without needing to have an additional script file.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|