# \#external-process

**URL:** https://discourse.julialang.org/tag/external-process/1095.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Using \`run\` to run command doesn't generate log files](https://discourse.julialang.org/t/using-run-to-run-command-doesnt-generate-log-files/132274)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 1\
**Last updated:** [September 11, 2025, 9:53am UTC](https://discourse.julialang.org/t/using-run-to-run-command-doesnt-generate-log-files/132274 "2025-09-11T09:53:28Z")

</div>

So I’m trying to update GitHub - cstook/LTspice.jl: julia interface to LTspice to work with modern Julia/LTspice and I’ve run into a strange problem. When I run the following command in cmd LTspice.exe -b -Run C:\\path…

---

## [Simulating keystrokes to external program](https://discourse.julialang.org/t/simulating-keystrokes-to-external-program/128229)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 3\
**Last updated:** [May 4, 2025, 12:08pm UTC](https://discourse.julialang.org/t/simulating-keystrokes-to-external-program/128229 "2025-05-04T12:08:39Z")

</div>

Hi! I have a package that makes a heavy use of fzf. I would like to test things more thoroughly but this requires interactive actions on fzf itself. I am aware of GitHub - Keno/VT100.jl: Terminal Emulation for terminal…

---

## [Reading from either stdout or stderr of spawned process](https://discourse.julialang.org/t/reading-from-either-stdout-or-stderr-of-spawned-process/127690)

<div class="topic-metadata">

**Author:** [@circonflexe](https://discourse.julialang.org/u/circonflexe)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 11:24am UTC](https://discourse.julialang.org/t/reading-from-either-stdout-or-stderr-of-spawned-process/127690 "2025-04-04T11:24:57Z")

</div>

My code runs an external process (in this case, Pari/GP) which might produce output on either its stdout or stderr file descriptors. I communicate with the process in the following way: pin, pout = Pipe(), Pipe() proces…

---

## [Getting hold of error status from an external command?](https://discourse.julialang.org/t/getting-hold-of-error-status-from-an-external-command/126465)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [March 6, 2025, 11:04pm UTC](https://discourse.julialang.org/t/getting-hold-of-error-status-from-an-external-command/126465 "2025-03-06T23:04:02Z")

</div>

I found the following old thread discussing the same problem. Is this proc = spawn(pipeline(ignorestatus(cmd))) still the best way to get hold of the exit code? I wish these commands (run() etc) had an option to retur…

---

## [Running multiple instances of an already parallel external program in parallel](https://discourse.julialang.org/t/running-multiple-instances-of-an-already-parallel-external-program-in-parallel/116436)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 1\
**Last updated:** [June 30, 2024, 6:42pm UTC](https://discourse.julialang.org/t/running-multiple-instances-of-an-already-parallel-external-program-in-parallel/116436 "2024-06-30T18:42:40Z")

</div>

I have a situation like below: Julia nrep = 3 Threads.@threads for i in 1:nrep run(\`bash -c """cd $path && ./external\_program"""\`) end external\_program.cpp #pragma omp parallel for num\_threads(10) for (int i = 0;…

---

## [Run commands on externally running process](https://discourse.julialang.org/t/run-commands-on-externally-running-process/85026)

<div class="topic-metadata">

**Author:** [@s-baumann](https://discourse.julialang.org/u/s-baumann)\
**Replies:** 1\
**Last updated:** [July 30, 2022, 2:00pm UTC](https://discourse.julialang.org/t/run-commands-on-externally-running-process/85026 "2022-07-30T14:00:33Z")

</div>

I want to run one command to open a program. Then do a second command in this program. For instance in the below case the first line opens a psql session and the second should insert some data via a csv file. line1 = \`…
