HD Install :: Might be the wrong areAdding a link to the desktop
If it works when you run it from a terminal, it should also work by running it as an argument to aterm.
Is this a script that continues to run indefinitely, or does it run quickly and finish?
it runs indefinetely, until you hit enter to quit, but that is just one script, the others just keep running and scrolling messages.
I'm not sure what could be the problem, then...although it might be an issue with syntax. If i remember correctly I have had problems in the past with running sudo apps in an x term. I think I needed some quotes or something....
maybe this... aterm -e "sudo /path/to/program.sh"
or this... sudo aterm -e /path/to/program.sh
This is all guesswork at this point. If you run "aterm -e program.sh" from an existing aterm, does it work then? I tend to test commands from a terminal before adding them to scripts, icons, whatever, just so i don't have to edit and re-edit.
basically, one script opens a server that allows transactions between financial institutions, another script opens a server that mimics a financial institution and the third script opens a terminal that shows feedback from the server along with a client app that allows you to enter your financial transactions and get info back from the mimic server.
So they definitely stay open when you launch them. It just doesnt make any sense that I can run it from inside aterm but not by using an aterm variable, what i see is a window with a green block in the corner for a nonosecond then it closes.
Also, if I open emelFM and type in the command for the link I get a simple end-of-output message,
Unless it has something to do with environments? However i doubt that.
If I enter aterm -e /path/script.sh while in aterm it brings up a new window and works fine. If I use quotes then i get nothing, not even a pop-up window... so it should work just fine....
Next Page...
original here.