Author amak
Recipients amak, fwierzbicki, houtm035
Date 2013-02-26.23:39:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Your example code is

os.system(  'qgrep "<xyz" D:\*.xml > D:\result.txt'  )

You are aware that the \ characters are not being interpreted as directory slashes in this string: they are python escape characters. Furthermore, the "\r" will be interpreted as a carriage return.

Why such a convoluted mechanism? Why not just do this?

os.system('qgrep xyz D:/*.xml > D:/result.txt')
Date User Action Args
2013-02-26 23:39:58amaksetmessageid: <>
2013-02-26 23:39:58amaksetrecipients: + amak, fwierzbicki, houtm035
2013-02-26 23:39:58amaklinkissue1690 messages
2013-02-26 23:39:58amakcreate