Comments (2)
I got the same thing. If I include Windows.h before process.h, no problem, but if I don't, I get link errors.
eg.
error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl SetHandleInformation(void *,unsigned long,unsigned long)" (__imp_?SetHandleInformation@@YAHPEAXKK@Z) referenced in function subprocess_create
Which is weird, since process.h declares them as __stdcall, not __cdecl
And if I include Windows.h after, I get the same errors as you.
from subprocess.h.
On it!
from subprocess.h.
Related Issues (20)
- Support for "CREATE_NO_WINDOW" when launching process HOT 1
- Bug with empty environment HOT 6
- Issue with quotes in command line HOT 5
- "echo" -> "/bin/echo"
- Separate implementation from declaration HOT 2
- Lib is not spawning terminal instance to run a code HOT 1
- Verboser output of child in case of invalid/unknown command HOT 2
- Adding lifetime documentation HOT 3
- Feature Request: set the cwd for created processes HOT 3
- unable to read from stdout HOT 3
- Replacement of execvp for execv break compatibility. HOT 6
- MinGW support HOT 3
- Incorrect argument quoting on Windows HOT 3
- Do not execute `commandLineCombined` when we have only one command parameter HOT 4
- Should subprocess_option_search_user_path use the PATH from any environment to subprocess_create_ex? HOT 3
- posix_spawn does not build on Android & Emscripten (Wasm) HOT 1
- Unicode support on Windows? HOT 8
- Do you have a complete example of how to display the output of a command?
- Commands that need to be run as root/sudo fail silently
- Is it possible to hide the console window?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subprocess.h.