Re: How to execute foreing code from Python

2011-01-25 Thread Hidura
Hello, i understand how to execute a command on the terminal in linux, but what i can't get it is the execution of programs and send the data as arguments, the problem is that i can't execute the program and when i execute the program give me an error with the stdin... This is the code:

Re: How to execute foreing code from Python

2011-01-23 Thread Hidura
Thanks to all for your fast responses. I will use this on a server running on Linux, so there is no problem with the OS and probably i will try to pipes and subprocess, but the pipes worry me because i can't stop the process using timeout or i don't found how to stop it... 2011/1/23, Dan Stromber

Re: How to execute foreing code from Python

2011-01-23 Thread Dan Stromberg
On Sun, Jan 23, 2011 at 4:24 PM, Dave Angel wrote: > On 01/-10/-28163 02:59 PM, hid...@gmail.com wrote: >> >> Hello i want to code from different languages using a Python script i >> know i can use os.system, but i don't know how to receive data or send >> arguments using that method if theres any

Re: How to execute foreing code from Python

2011-01-23 Thread Dave Angel
On 01/-10/-28163 02:59 PM, hid...@gmail.com wrote: Hello i want to code from different languages using a Python script i know i can use os.system, but i don't know how to receive data or send arguments using that method if theres any another way to make it or there's a way to send arguments and r

Re: How to execute foreing code from Python

2011-01-23 Thread Chris Rebert
On Sun, Jan 23, 2011 at 2:21 PM, wrote: > Hello i want to code from different languages using a Python script i know i > can use os.system, but i don't know how to receive data or send arguments > using that method if theres any another way to make it or there's a way to > send arguments and rece

How to execute foreing code from Python

2011-01-23 Thread hidura
Hello i want to code from different languages using a Python script i know i can use os.system, but i don't know how to receive data or send arguments using that method if theres any another way to make it or there's a way to send arguments and receive data using os.system? Thanks in advanc