maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Python: capturing string returned via subprocess() (https://talk.maemo.org/showthread.php?t=84294)

rotoflex 2012-05-16 05:33

Python: capturing string returned via subprocess()
 
What is the best way to capture for string operations the string retuned by subprocess() ?

I need to work with the string returned by
Code:

subprocess.call("dbus-send --print-reply --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:b3b8e62f-ba5c-4bd6-b88b-4655ad564898 uint32:0", shell=True)


All times are GMT. The time now is 08:43.

vBulletin® Version 3.8.8