processing unix command output lists

ramak_b at ramak_b at
Wed Mar 29 08:29:42 CEST 2000

In python is there a way to get the output of a unix comamnd
in the form of list or something.
import os
result=os.command(" ps -elfy | grep AlarmMgr");
Now is there a way I should be able to process the output of this
command rather than simple success(0) or failure(1) as it happens with
the above command.
Any Help is appreciated.

Sent via
Before you buy.

More information about the Python-list mailing list