scripting btdownloadcurses.py
I would like to write a shell script for BitTorrent that opens bittorrent in an Eterm, so I can tell Firefox to open all my torrent files with that script. Here is what I tried (simplified):
#!/bin/sh
Eterm -e btdownloadcurses.py $1
The problem is that once Eterm runs that command, my script exits. I'll click on a torrent file, Firefox launches it with the script, an Eterm pops up, and then it immediately disappears. How can I tell my script to keep the Eterm open?
|