What is the process to run sub-process with pipes that connect both input and output?

Answer Posted / siva kumar reddy dandu

try to use subprocess module
x = subprocess.popen(command)
x.read()

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does lambda function differ from a normal function in python?

474


How will you reload a module of python, explain?

428


How does break, continue and pass work?

449


Does Python support Multithreading?

525


Explain the use of // operator in python?

474






What is python __ init __?

444


What is the function of a negative index?

450


How can you make a python script executable on unix?

448


What are the other languages that support strongly for regular expressions?

524


Is it easier than Django bottle?

541


Is print a function in python 3?

436


Does python supports interfaces like in java or c#?

480


Is python case-sensitive?

484


How do I run a subprocess with pipes connected to both input and output?

484


Does python have overloading?

443