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

Manual: "Running External Programs" does not explain how to change working directory #19286

Closed
jiahao opened this issue Nov 9, 2016 · 2 comments · Fixed by #39704
Closed
Labels
docs This change adds or pertains to documentation good first issue Indicates a good issue for first-time contributors to Julia needs docs Documentation for this change is required

Comments

@jiahao
Copy link
Member

jiahao commented Nov 9, 2016

I was surprised that this wasn't documented in the manual. Would be useful to have a section about Cmd objects and how you can customize them with the dir kwarg to set the working directory, and more generally the manipulation of working environments with setenv() and withenv().

All of these are explained in the standard library, but it would be convenient to have a description in the manual, with suitable cross-references to the existing standard library documentation.

A simple example

Cmd(`pwd`, dir="..")
@jiahao jiahao added the needs docs Documentation for this change is required label Nov 9, 2016
@nalimilan
Copy link
Member

(I think needs-docs is for PRs which cannot be merged until docs have been added; docs would probably be more appropriate.)

@kshyatt kshyatt added docs This change adds or pertains to documentation good first issue Indicates a good issue for first-time contributors to Julia labels Nov 12, 2016
@akaysh
Copy link
Contributor

akaysh commented Feb 27, 2017

@jiahao This is pending from quite some time now. I think it would be appropriate to add a subsection called "Cmd" Object under the "Running External Programs" section with references across std-lib docs.
Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation good first issue Indicates a good issue for first-time contributors to Julia needs docs Documentation for this change is required
Projects
None yet
4 participants