discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] os.popen broken pipe error


From: satarkar
Subject: [Discuss-gnuradio] os.popen broken pipe error
Date: Sun, 12 Apr 2009 20:42:59 -0400 (EDT)
User-agent: SquirrelMail/1.4.16

Hi,

I am trying to open one python script from another using the following code:


command = 'python send.py -d %d -s %d -c %d -n %d -f trash_file.txt'
%(dest_addr, sender_addr, cmd, seqno)
os.popen(command)

I get the broken pipe error for some reason. Can anyone please explain
what is happening? Following are the file links if you want to reproduce
the error:

http://www.eden.rutgers.edu/~aanchan/input.txt
http://www.eden.rutgers.edu/~aanchan/send.py
http://www.eden.rutgers.edu/~aanchan/transceiver.py
http://www.eden.rutgers.edu/~aanchan/trash_file.txt

I am calling send.py from transceiver.py. The txt files are used as inputs.

thanks and regards,

-Sumit





reply via email to

[Prev in Thread] Current Thread [Next in Thread]