Skip to content
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

Exec Task: make it possible provide arguments to a command in a platform independent manner #6047

Open
tmds opened this issue Jan 19, 2021 · 2 comments
Labels
Feature Request needs-design Requires discussion with the dev team before attempting a fix. Partner request triaged
Milestone

Comments

@tmds
Copy link
Member

tmds commented Jan 19, 2021

The Exec.Command parameter is platform dependent.

ProcessStartInfo.ArgumentList provides an API to specify arguments in a platform-independent way.

It would be nice if it was usable from Exec.

Besides being cross-platform, such processes could be spawned directly my msbuild instead of wrapping them with an intermediate script.

Example:

      <Exec FileName="dotnet" Arguments="new;web;-o;$(OutputLocation)"/>

cc @rainersigwald

@tmds tmds added bug needs-triage Have yet to determine what bucket this goes in. labels Jan 19, 2021
@benvillalobos benvillalobos added this to the Backlog milestone Jan 20, 2021
@benvillalobos benvillalobos added Feature Request help wanted Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim. and removed bug needs-triage Have yet to determine what bucket this goes in. labels Jan 20, 2021
@tmds
Copy link
Member Author

tmds commented Jan 21, 2021

@benvillalobos what does 'up-for-grabs' mean? Do you approve the feature request and can someone start working on it?

@benvillalobos benvillalobos added the needs-design Requires discussion with the dev team before attempting a fix. label Jan 21, 2021
@benvillalobos
Copy link
Member

@tmds thanks for pointing this out. We're open to seeing at a high level what the change would look like and discussing it from there. I added the needs design label to reflect that.

@Forgind Forgind added Partner request and removed help wanted Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim. labels Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request needs-design Requires discussion with the dev team before attempting a fix. Partner request triaged
Projects
None yet
Development

No branches or pull requests

4 participants