OS commands

Matthew Banham matb at photond.com
Thu Sep 28 04:17:52 EDT 2000


> Does
>
> import os
> os.system("dir")
>
> not do what you wanted?

No I'm afraid not- os.system cannot spawn remote processes- i.e. it waits
until the command has finished. If I want to 'boot-up' my server process
with python being the client then I would have to wait an infinite amount of
time for the server to finish doing stuff!

Thanks anyway- if anyone can reply to my other e-mail then that would be
useful

Yours Sincerely,
Matthew Banham





More information about the Python-list mailing list