python-shell
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -17,5 +17,5 @@ /// <reference types="node" /> | ||
/** | ||
* the scriptPath passed to PythonShell is executed relative to scriptFolder, if specified | ||
* overrides scriptPath passed into PythonShell constructor | ||
*/ | ||
scriptFolder?: string; | ||
scriptPath?: string; | ||
/** | ||
@@ -22,0 +22,0 @@ * arguments to your program |
@@ -81,3 +81,3 @@ "use strict"; | ||
let scriptArgs = toArray(options.args); | ||
this.scriptPath = path_1.join(options.scriptFolder || '', scriptPath); | ||
this.scriptPath = path_1.join(options.scriptPath || '', scriptPath); | ||
this.command = pythonOptions.concat(this.scriptPath, scriptArgs); | ||
@@ -84,0 +84,0 @@ this.mode = options.mode || 'text'; |
{ | ||
"name": "python-shell", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Run Python scripts from Node.js with simple (but efficient) inter-process communication through stdio", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42919