Subprocess and /usr/bin/dialog

harrelson harrelson at gmail.com
Sat Mar 22 11:41:40 EDT 2008


>
> [It would be helpful if you didn't wrap sample code when you
> post it.]
>
> dialog displays the widget on stdout.  You've connected stdout
> to a pipe, so you're not going to see anything displayed unless
> you read data from the stdout pipe and write it to the terminal.

Also... if I put the dialog call in a one line shell script and
execute it with:

subprocess.call('dialog.sh')

it works properly.



More information about the Python-list mailing list