Joined: Dec. 2008
||Posted: Jan. 03 2009,16:16
I have an application that needs to launch "hands-off" during startup: open a console window and execute a shell script upon startup. The window needs to remain open for status reporting and potential user interaction (the last script action is to start up an interactive Python application).
When testing the script, I can open Aterm after booting and invoke the script then all is fine. But I need to be able to open the window/shell session and invoke the script "hands-off" when DSL boots.
When I launch Aterm via xinitrc with "-e scriptname", I find that an Aterm window flashes open momentarily -- not long enough to execute the first stages of shell script.
So, how do I open an Aterm window upon system start, execute a script in that window, and have the window remain open in the foreground?
Any advice is most appreciated. Thanks.