summaryrefslogtreecommitdiff
path: root/qface/watch.py
diff options
context:
space:
mode:
Diffstat (limited to 'qface/watch.py')
-rw-r--r--qface/watch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qface/watch.py b/qface/watch.py
index 33fae01..29bc30f 100644
--- a/qface/watch.py
+++ b/qface/watch.py
@@ -3,7 +3,7 @@ from watchdog.observers import Observer
import click
from path import Path
import time
-from .shell import sh
+from subprocess import call
"""
Provides an API to monitor the file system
@@ -25,7 +25,7 @@ class RunScriptChangeHandler(FileSystemEventHandler):
if self.is_running:
return
self.is_running = True
- sh(self.args, cwd=Path.getcwd())
+ call(self.args, cwd=Path.getcwd())
self.is_running = False