MCPcopy Index your code
hub / github.com/extrabacon/python-shell / runSingleScript

Function runSingleScript

test/test-python-shell.ts:237–245  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

235 }
236 }
237 function runSingleScript(callback) {
238 PythonShell.run('echo_args.py', {
239 args: ['hello', 'world']
240 }).then((results)=> {
241 results.should.be.an.Array().and.have.lengthOf(2);
242 results.should.eql(['hello', 'world']);
243 callback();
244 });
245 }
246
247 });
248

Callers 1

Calls 1

runMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…