Re: [Tutor] Using command line tool with python script

2009-10-05 Thread RĂ¼diger Wolf
On Mon, 05 Oct 2009 12:59 -0400, "Kent Johnson" wrote: > On Mon, Oct 5, 2009 at 10:22 AM, Oleg Oltar > wrote: > > > os.popen4("application -parameter1 -file temp.txt") > > > > I wonder if that possible to execute this script (called application) > > without writing the file with initial data to

Re: [Tutor] Using command line tool with python script

2009-10-05 Thread Kent Johnson
On Mon, Oct 5, 2009 at 10:22 AM, Oleg Oltar wrote: > os.popen4("application -parameter1 -file temp.txt") > > I wonder if that possible to execute this script (called application) > without writing the file with initial data to the hard disk? If "application" can take its input from stdin then yo

Re: [Tutor] Using command line tool with python script

2009-10-05 Thread bob gailer
Oleg Oltar wrote: Hi! I want to try to use a command line script with my python application. The task is the following, my database stores some initial data for the script and I need to execute a command line application in a following way: $ application -parameter1 -file1 where file 1 is a