ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/ForwardAnalysis/Scripts/python/CopyWatch.py
Revision: 1.1
Committed: Tue Sep 18 21:29:34 2012 UTC (12 years, 7 months ago) by antoniov
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Log Message:
update

File Contents

# Content
1 #from threading import Thread,Lock,Event
2 from threading import Thread
3 from subprocess import call
4
5 class CopyWatch(Thread):
6 def __init__(self,cmd):
7 Thread.__init__(self)
8 self.cmd = cmd
9
10 def run(self):
11 #print self.cmd
12 call(self.cmd,shell=True)