[gDesklets] IExec control does not get output



Hi,

I try to use IExec control to execute and display output of "cat /proc/mdstat"
Output of the command is following:

Personalities :
 unused devices: <none>

My problem is, that output contains unescaped chars "<>" (lower than, greater than)
Maybe all xml special chars are problematic.

I am new in Python and do not understand of limitation to import python libraries in gdesklets.

Any suggestions how to escape(myExec.output)?

Thanks,
Peterk




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]