# Using \`run\` to run command doesn't generate log files

**URL:** <https://discourse.julialang.org/t/using-run-to-run-command-doesnt-generate-log-files/132274>\
**Category:** General Usage\
**Tags:** run, external-process\
**Created:** [September 11, 2025, 9:36am UTC](https://discourse.julialang.org/t/using-run-to-run-command-doesnt-generate-log-files/132274 "2025-09-11T09:36:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AwesomeQuest](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/awesomequest/32/38910_2.png) [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Post date:** [September 11, 2025, 9:36am UTC](https://discourse.julialang.org/t/using-run-to-run-command-doesnt-generate-log-files/132274/1 "2025-09-11T09:36:05Z")

</div>

So I’m trying to update [GitHub - cstook/LTspice.jl: julia interface to LTspice](https://github.com/cstook/LTspice.jl) to work with modern Julia/LTspice and I’ve run into a strange problem.

When I run the following command in cmd

```julia-auto
LTspice.exe -b -Run C:\path\to\test2.asc

```

It generates various log files in the same folder as `test2.asc`

However when I run the same command with Julia `run` no files get generated anywhere I can see.

```julia-auto
julia> run(`LTspice.exe -b -Run C:\Users\torfi\Documents\programmingFun\ltspice\test2.asc`)
Process(`LTspice.exe -b -Run C:UserstorfiDocumentsprogrammingFunltspicetest2.asc`, ProcessExited(0))

```

Does `run` run commands in some kind of special context that the .exe can detect?  
Or can `run` somehow suppress the creation of files?

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [September 11, 2025, 9:53am UTC](https://discourse.julialang.org/t/using-run-to-run-command-doesnt-generate-log-files/132274/2 "2025-09-11T09:53:28Z")

</div>

I think this is your problem:

> [@AwesomeQuest](#):
>
> `C:UserstorfiDocumentsprogrammingFunltspicetest2.asc`

You either need to quote the backslashes (i.e. double them `C:\\path\\...`) or make them forward slashes (i.e. `C://path/…), both directions are valid in Windows.
