Closed TheCherry closed 4 years ago
Hallo, I was very happy to find this lib. But it just doesn't work.
I tried it with C and C++ in MVS 2017. At the example
const char *command_line[] = { "echo", "\"Hello, world!\"", NULL }; struct process_s process; int result = process_create(command_line, 0, &process); if (0 != result) { // an error occurred! }
I always get the result -1 If I start nodejs instead of echo, a result of 0 comes but the process does not start.
Is echo on the path? How do you know that nodes does not start?
echo
nodes
Closing this as no-response to my queries.
Hallo, I was very happy to find this lib. But it just doesn't work.
I tried it with C and C++ in MVS 2017. At the example
I always get the result -1 If I start nodejs instead of echo, a result of 0 comes but the process does not start.