Message6527

Author ssteiner
Recipients ssteiner
Date 2011-05-25.15:08:32
SpamBayes Score 6.8844076e-07
Marked as misclassified No
Message-id <1306336113.54.0.0370205504088.issue1748@psf.upfronthosting.co.za>
In-reply-to
Content
in python i get:
OSError: Drive already SUBSTed

in jython i get:
OSError


import subprocess
p_subst = subprocess.Popen('subst z: "c:\\"',  shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
errmsg = p_subst.communicate()[0]
if p_subst.returncode != 0:
    raise OSError(errmsg)
History
Date User Action Args
2011-05-25 15:08:33ssteinersetrecipients: + ssteiner
2011-05-25 15:08:33ssteinersetmessageid: <1306336113.54.0.0370205504088.issue1748@psf.upfronthosting.co.za>
2011-05-25 15:08:33ssteinerlinkissue1748 messages
2011-05-25 15:08:33ssteinercreate