79075317

Date: 2024-10-10 16:19:53
Score: 1
Natty:
Report link

For linux you will need to set the cwd option :

spawn('./python-executable', [], {
        cwd: python-directory,
      });

For windows use :

spawn('cmd.exe',['/c', path.join(python-directory, 'python-executable.exe')]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: khalidgt