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

No way to set working directory #29

Closed
Cloudmersive opened this issue Sep 23, 2018 · 1 comment
Closed

No way to set working directory #29

Cloudmersive opened this issue Sep 23, 2018 · 1 comment
Labels

Comments

@Cloudmersive
Copy link

Please consider adding a way to set the working directory in Command.Run

@madelson
Copy link
Owner

@Cloudmersive this is possible via the options API:

Command.Run("foo.exe", new[] { arg1, arg2 }, options: o => o.WorkingDirectory("directory"));

That said, this ought to be explicitly documented in the README. I'll add it when I next get a chance (or feel free to make a PR).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants