Fixed file.ts script for non windows users

Signed-off-by: WolverinDEV <git@teaspeak.de>
This commit is contained in:
WolverinDEV 2019-12-19 17:39:44 +01:00
parent 68e844b8ed
commit 8efe6dd404
No known key found for this signature in database
GPG key ID: 77A6C15085150EEB

View file

@ -732,7 +732,7 @@ namespace watcher {
env: process.env
});
else
this._process = cp.spawn(cmd, args, {
return cp.spawn(cmd, args, {
cwd: __dirname,
stdio: "pipe",
detached: true