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 <murugadoss2...@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@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
Madhu Sudhan Sunkara
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to