[Tutor] Running a script in the background
Michael Crawford
dalupus at gmail.com
Sun Sep 2 05:38:41 CEST 2012
For windows not sure but for osx just add an & after the command.
python myscript.py &
On Sep 1, 2012, at 11:29 PM, Michael Lewis <mjolewis at gmail.com> wrote:
> Hi everyone,
>
> I am sorry to ask this when there are a lot of resources online regarding the subject, but I've spent the past two days trying to figure this out and I don't get it.
>
> I have a script that will run forever. Since it runs forever, I don't want to see the interpreter or command line. I want the program to run in the background so I don't see it at all.
>
> How can I do this? For some background, my script essentially check every x minutes to see if any files have been updated and then moves them to dropbox.
>
> I want to be able to do this on both OSX Mountain Lion and Windows 7. If need be, I can create two separate scripts to separate out the two OS's.
>
> Thanks!
>
> --
> Michael J. Lewis
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120901/fdb56f74/attachment.html>
More information about the Tutor
mailing list