Skip to content

Commit 630acfc

Browse files
venuurCarl Morris
andauthored
Add note for non-Posix and Windows users. (#33924)
Co-authored-by: Carl Morris <carl.morris.world@outlook.com>
1 parent bcac693 commit 630acfc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/src/manual/running-external-programs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ differs in several aspects from the behavior in various shells, Perl, or Ruby:
2020
interpolating variables and splitting on words as the shell would, respecting shell quoting syntax.
2121
The command is run as `julia`'s immediate child process, using `fork` and `exec` calls.
2222

23+
24+
!!! note
25+
The following assumes a Posix environment as on Linux or MacOS.
26+
On Windows, many similar commands, such as `echo` and `dir`, are not external programs and instead are built into the shell `cmd.exe` itself.
27+
One option to run these commands is to invoke `cmd.exe`, for example `cmd /C echo hello`.
28+
Alternatively Julia can be run inside a Posix environment such as Cygwin.
29+
2330
Here's a simple example of running an external program:
2431

2532
```jldoctest

0 commit comments

Comments
 (0)