uni-run 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ class ExecutionBin {
14
14
  return this.extensions.has(script.split('.').pop() || '');
15
15
  }
16
16
  isInstalled() {
17
- const result = (0, cross_spawn_1.sync)(this.command, this.checkInstallationArgs ? this.checkInstallationArgs : []);
17
+ const result = (0, cross_spawn_1.sync)(this.command, this.checkInstallationArgs ? this.checkInstallationArgs : [], { shell: false, stdio: 'ignore' });
18
18
  if (result.status === 1)
19
19
  return false;
20
20
  return true;
package/dist/execute.js CHANGED
@@ -37,7 +37,7 @@ function default_1([command, ...args], options) {
37
37
  }
38
38
  killProcess();
39
39
  child = (0, cross_spawn_1.spawn)(command, args, {
40
- argv0: command,
40
+ shell: false,
41
41
  cwd: options.cwd,
42
42
  stdio: 'inherit',
43
43
  env: Object.assign({}, options.env),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "uni-run",
3
3
  "description": "Universal Runner for many language",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "type": "commonjs",
6
6
  "scripts": {
7
7
  "ts": "w ./src/__lab__/index.ts",