summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Bocklage-Ryannel <juergen@ryannel.org>2018-11-22 13:21:54 +0100
committerJuergen Bocklage-Ryannel <juergen@ryannel.org>2018-11-22 13:21:54 +0100
commit56e3acc8df35c16a93a68954698cdcfdb1c1c3d4 (patch)
tree1d5c73eaabc18212e2d2477a478a26096c97aff1
parent85f89f975538344e4f596f3175f8dda0f2b4de98 (diff)
downloadqtivi-qface-56e3acc8df35c16a93a68954698cdcfdb1c1c3d4.tar.gz
remove dependency to sh function
-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