dbx-tools-node-runtime 0.9.173__tar.gz → 0.9.174__tar.gz
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.
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/PKG-INFO +1 -1
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/pyproject.toml +1 -1
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/pyproject.toml.orig +1 -1
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/src/dbx_tools/node_runtime/runtime.js +19 -1
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/LICENSE +0 -0
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/README.md +0 -0
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/src/dbx_tools/node_runtime/__init__.py +0 -0
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/src/dbx_tools/node_runtime/__main__.py +0 -0
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/src/dbx_tools/node_runtime/bootstrap.py +0 -0
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/src/dbx_tools/node_runtime/py.typed +0 -0
- {dbx_tools_node_runtime-0.9.173 → dbx_tools_node_runtime-0.9.174}/src/dbx_tools/node_runtime/runtime.py +0 -0
|
@@ -18819,7 +18819,25 @@ function execFile(command, args, _options, callback) {
|
|
|
18819
18819
|
}, (error) => callback(error instanceof Error ? error : new Error(String(error))));
|
|
18820
18820
|
}
|
|
18821
18821
|
function spawnSync(command, args = [], options = {}) {
|
|
18822
|
-
|
|
18822
|
+
let result;
|
|
18823
|
+
try {
|
|
18824
|
+
result = pythonHost().process.run(command, args, options.env, options.input, options.cwd);
|
|
18825
|
+
} catch (error) {
|
|
18826
|
+
if (!String(error).includes("Python FileNotFoundError: [Errno 2]"))
|
|
18827
|
+
throw error;
|
|
18828
|
+
return {
|
|
18829
|
+
status: null,
|
|
18830
|
+
stdout: "",
|
|
18831
|
+
stderr: "",
|
|
18832
|
+
error: Object.assign(new Error(`spawnSync ${command} ENOENT`), {
|
|
18833
|
+
code: "ENOENT",
|
|
18834
|
+
errno: -2,
|
|
18835
|
+
syscall: `spawnSync ${command}`,
|
|
18836
|
+
path: command,
|
|
18837
|
+
spawnargs: args
|
|
18838
|
+
})
|
|
18839
|
+
};
|
|
18840
|
+
}
|
|
18823
18841
|
return {
|
|
18824
18842
|
status: result.exitCode,
|
|
18825
18843
|
stdout: result.stdout ?? "",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|