[BangPypers] Reg : Python Scripting

Madhusudhan sunkara madhusudhan.sunkara at gmail.com
Wed Dec 9 12:31:49 CET 2009


may be you should redesign your program/logic , os.system call won't return
without finishing

On Wed, Dec 9, 2009 at 4:34 PM, murugadoss <murugadoss2884 at gmail.com> wrote:

> Hello,
>   I am writing a python script for executing my program.  This is a thread
> program and on execution get the input from the user or from the python
> script.
> My python script is successfully executing, till running of the my
> program.Then i send the input to thread from the script.
>
> But since the thread is waiting for input ( in a while loop ), the control
> is not coming to next line of the script. (ie: to input arguments line).
>
> Sample Script:
> os.system(my program)
> child.sendline(input arguments)
>
> Can anyone please tell how to solve this issue.
> Thank U
> --
> Regards
> V.Murugadoss
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
Madhu Sudhan Sunkara


More information about the BangPypers mailing list