On Mon, Oct 5, 2009 at 10:22 AM, Oleg Oltar <oltarase...@gmail.com> 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 you can use the
subprocess module to launch it and pipe data to it. If "application"
requires a file for input then I think you have to write a file.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to