Problem with subprocess.call and windows schtasks

Tom Borkin borkintom at gmail.com
Wed Nov 21 16:53:12 EST 2012


On Wed, Nov 21, 2012 at 6:01 AM, Tim Golden <mail at timgolden.me.uk> wrote:

> subprocess.call([
>   'SchTasks', '/Create',
>   '/SC', 'ONCE',
>   '/TN', 'test',
>   '/TR', path,
>   '/ST', '23:50'
> ])
>
Thank you. Yes, it was the quoting of "test". Oops :-}
Thanks again,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121121/152b4fdc/attachment.html>


More information about the Python-list mailing list