I want to read the stream of an external process that I start with Python.
From what I've seen that's not possible with the subprocess module?
I want to read the output of "ip monitor neigh" which will show changes in
the ARP table on my Linux computer. Each change is a new line printed by
"ip"
On May 2, 7:46 am, Kiuhnm wrote:
> On 5/2/2012 13:08, Damjan Georgievski wrote:
>
> > I want to read the stream of an external process that I start with
> > Python. From what I've seen that's not possible with the subprocess module?
>
> Try with
> cmd = 'your command here'
> stdout = Popen
On 5/2/2012 13:08, Damjan Georgievski wrote:
> I want to read the stream of an external process that I start with
> Python. From what I've seen that's not possible with the subprocess module?
Try with
cmd = 'your command here'
stdout = Popen(cmd, shell = True, stdout = PIPE, stderr = STDO
On Wed, May 2, 2012 at 4:38 PM, Damjan Georgievski wrote:
> I want to read the stream of an external process that I start with Python.
> From what I've seen that's not possible with the subprocess module?
>
> I want to read the output of "ip monitor neigh" which will show changes in
> the ARP tabl
I want to read the stream of an external process that I start with
Python. From what I've seen that's not possible with the subprocess module?
I want to read the output of "ip monitor neigh" which will show changes
in the ARP table on my Linux computer. Each change is a new line printed
by "ip