~$ ldtprecord -c start -a gedit -p all ~$ ldtprecord -c stop -f /tmp/gedit Traceback (most recent call last): File "/usr/bin/ldtprecord", line 371, in ? stoprecord (filename) File "/usr/bin/ldtprecord", line 366, in stoprecord raise LdtpExecutionError (str (msg)) __main__.LdtpExecutionError: "'Invalid Status'"