Skip to content

code with exec fails when running inside Eclipse on Windows #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tbenbrahim opened this issue Nov 29, 2013 · 5 comments
Closed

code with exec fails when running inside Eclipse on Windows #92

tbenbrahim opened this issue Nov 29, 2013 · 5 comments

Comments

@tbenbrahim
Copy link

Nodeclipse Core version 0.7.0.201311010637

require('child_process').exec('sc queryex', function (error, stdout, stderr) {
    console.log(stdout);
    console.log(error);
});

results in

{ [Error: spawn Unknown system errno 203]
  code: 'Unknown system errno 203',
  errno: 'Unknown system errno 203',
  syscall: 'spawn' }

Code runs fine from Windows command line.

@paulvi
Copy link
Member

paulvi commented Dec 2, 2013

This must be similar problem to #81

Thanks for letting know.

@paulvi
Copy link
Member

paulvi commented Dec 2, 2013

This won't be in 0.8
Help needed.

@ghost ghost assigned paulvi Dec 4, 2013
@paulvi
Copy link
Member

paulvi commented Dec 11, 2013

Like #81 this issue ( #92 ) does not appear in Nodeclipse 0.4 (tested with Nodeclipse SDK https://sourceforge.net/projects/nodeclipse/files/Standard-Development-Kit/ ). It is regression since 0.5.

Both errors happen in spawn function block:
ChildProcess.prototype.spawn = function(options) {
https://github.com/joyent/node/blob/master/lib/child_process.js#L902-L1046

@paulvi
Copy link
Member

paulvi commented Feb 3, 2014

The example above works with 70979f3 on Windows. As the remedy is the same, this is the same issue. Marked as duplicate. Please follow #81

@paulvi
Copy link
Member

paulvi commented Feb 25, 2014

close with 0.11

@paulvi paulvi closed this as completed Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants