Re: Solution to a problem,write terminal output to file

2014-12-10 Thread Robert Clove
I think i didn't explained well Two programs client and server in c. to run client strace -c ./client to run server strace -c ./server After a minute i want to send client SIGINT signal and capture the terminal output in a file. If i use os.system and press ctrl+c signal from keyboard i get the

Solution to a problem,write terminal output to file

2014-12-09 Thread Robert Clove
Hi All, I am facing a problem in python coding that is I have a client server program(programs a re in c code and client and server are its executable) on Linux machine. To run client i do this ./strace -c client and to run server i type this ./strace -c server When i give ctrl+c to client i

Re: Solution to a problem,write terminal output to file

2014-12-09 Thread Chris Angelico
On Wed, Dec 10, 2014 at 4:11 AM, Robert Clove cloverob...@gmail.com wrote: I am facing a problem in python coding that is I have a client server program(programs a re in c code and client and server are its executable) on Linux machine. To run client i do this ./strace -c client and to run