LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   scripting btdownloadcurses.py (https://www.linuxquestions.org/questions/linux-software-2/scripting-btdownloadcurses-py-267540/)

astrowill 12-17-2004 06:49 PM

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?

prospectofdeath 01-13-2005 03:39 PM

A few months ago I used to use a little script that was:

Code:

screen /usr/bin/btdownloadcurses.py --max_upload_rate 8 $1
But since I upgraded to FC3 it hasn't worked the same. BT crashes a lot, often at startup.

Working on a new solution now.


All times are GMT -5. The time now is 07:22 PM.