Quote |
You can always run aterm -e somescript |
Quote |
You could always pass them to the shell to execute, i.e. aterm -e sh -c "echo 1 && echo 2; echo $? > retval.txt; read" |
Quote |
I don't think you can use the return code from os.execute since it would get it from aterm - not the commands you specified. |
Quote |
afaik most(all?) of the mirrors do regular rsync updates to ibiblio... so it should be OK. |
Quote |
That looks like a variation of writing to a temp file from lua and then executing the temp file...except using sh instead of lua. Is that right? |
Quote |
Yeah, I ran into that issue when trying to get the return value from mydsl-load, which was causing an error dialog even on success. I plan to do checks on the files themselves, after the os.execute has run, in order to give the user a visual clue of the success of the download/installation. I just haven't bothered with it yet. |