Comments (5)
Are you sure? I can see it's available in .NET Standard 2.0. It's only .NET Framework where it's not supported before 4.6 (but we don't target it anyway).
from cliwrap.
Hi, I had no idea about this. Sounds like a terrible design oversight to me, I would have never considered that to be the default behavior.
If you want, you're welcome to submit a PR to fix this.
from cliwrap.
I guess (but really don't know) that's due to other defaults when the TCS is creating the Task itself and those make more sense in other cases (i.e. forcing async execution might have some overhead I guess). Probably they noticed the downsides of this default after releasing the API. When setting up a PR I noticed that the option is actually unavailable in NS2.0 (but available in all the other relevant targets). Thus, afaik this is only fixable for the other targets using a compiler condition. Looking further into it this seems to be only relevant for this one use of the TCS.
Now, how WhenAll is implemented and thus if this is relevant is beyond my knowledge. I'll still send the PR for reference (#55) but I'm currently not sure what's the right way to proceed. On one hand, not doing this makes possible future usages of the TCS's task kind of dangerous and would lead to hard to debug situations then. On the other hand merging fixes this for some platforms but keeps others (possibly in the future) broken.
from cliwrap.
Hmm, seems like you're right. Strange. IntelliSense first told me it wouldn't be available, but doesn't tell me anymore now. It compiles fine too. A small test class lib project targeting only NS2.0 plus a unit test using it executes fine too. This supports it too. I'll change the PR. Strange enough, I really don't know how this happened.
from cliwrap.
No worries ;)
from cliwrap.
Related Issues (20)
- Invalid encoding when running a specific executable on Windows HOT 4
- Possibility to not redirect certain process streams HOT 4
- Cannot be used in IIS? HOT 6
- Stdout and stderr order not preserved HOT 10
- Windows 11 throws exception for some arguments passed to SqlPackage HOT 6
- Support intermediate pipe handlers to transform output from one command into input for another HOT 11
- Not getting the proper response from docker command HOT 5
- Add `WithArguments` overload (or new method) that allows appending arguments to an existing command HOT 2
- Command can deadlock if the process writes large output and one of the targets inside `PipeTarget.Merge(...)` throws
- Problem with stdOut HOT 8
- When using .NET Framework instead of .NET Core, there are problems with stdin encoding HOT 10
- UnicodeEncodeError when Python program outputs unicode HOT 4
- Allow forced argument escaping HOT 5
- Allow input midway through a script's execution HOT 5
- Option to allocate a pseudo-terminal for running command-line applications HOT 1
- `telnet` command is throwing 'No such file or directory' error HOT 4
- Argument escaping using `ProcessStartInfo.ArgumentList` HOT 1
- Ignore waiting for output stream when main process is finished, but it has active children reusing the same output streams HOT 1
- ExecuteBufferedAsync - Access a merged Stdout and Sterror HOT 1
- Ask for the "PrivacyInfo.xcprivacy" required by Apple HOT 1
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 cliwrap.