# Internal Error when running run(\`cmd /c start exel.exe\`) on Windows

**URL:** <https://discourse.julialang.org/t/internal-error-when-running-run-cmd-c-start-exel-exe-on-windows/15124>\
**Category:** Juno\
**Created:** [September 18, 2018, 11:33am UTC](https://discourse.julialang.org/t/internal-error-when-running-run-cmd-c-start-exel-exe-on-windows/15124 "2018-09-18T11:33:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![uwechsler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uwechsler/32/5223_2.png) [@uwechsler](https://discourse.julialang.org/u/uwechsler)\
**Post date:** [September 18, 2018, 11:33am UTC](https://discourse.julialang.org/t/internal-error-when-running-run-cmd-c-start-exel-exe-on-windows/15124/1 "2018-09-18T11:33:03Z")

</div>

Hi, first of all, thanks for the good work done with Juno!  
We found a peculiar behavior when running our code wiht the newest version of Atom.  
Whenever we want to open a excel file from Atom with this command:  
`run('cmd /c start chrome.exe') `  
The following error message appears:  
 ![atom](https://global.discourse-cdn.com/julialang/original/3X/3/7/376ab23594e34999a2c34490699b2a6dbdf5e69b.png)  
And in the following, whenever we switch the view from REPL to the editor or in a different view of Atom a new instance of the error appears again.  
This error occurs under Atom 1.30.0 (in 1.26.1 it works without errors). Julia Client is version 0.7.6 and the operation System Windows 10.  
I was wondering, if there is a way to get around this, or if using an older atom version is the way to handle this?  
thanks

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [September 18, 2018, 2:51pm UTC](https://discourse.julialang.org/t/internal-error-when-running-run-cmd-c-start-exel-exe-on-windows/15124/2 "2018-09-18T14:51:19Z")

</div>

I can’t reproduce this locally –

```julia
run(`cmd /c start firefox.exe`)

```

works fine for me locally. I suspect this happens because of an invalid working directory, so it would be interesting to know what `pwd()` returns. Do you have any projects open in Atom (i.e. is there something in the `Tree View` under `View -> Toggle Tree View`)?

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [September 18, 2018, 2:54pm UTC](https://discourse.julialang.org/t/internal-error-when-running-run-cmd-c-start-exel-exe-on-windows/15124/3 "2018-09-18T14:54:01Z")

</div>

@uwechsler Did you try `run(`cmd /c start chrome.exe`)` instead of `run('cmd /c start chrome.exe')` (note the different ticks)?

---

<div class="post-metadata">

**Author:** ![uwechsler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uwechsler/32/5223_2.png) [@uwechsler](https://discourse.julialang.org/u/uwechsler)\
**Post date:** [September 21, 2018, 8:25am UTC](https://discourse.julialang.org/t/internal-error-when-running-run-cmd-c-start-exel-exe-on-windows/15124/4 "2018-09-21T08:25:24Z")

</div>

Yes, I used the backwards ticks in my code. I just had trouble displaying them in the post.

---

<div class="post-metadata">

**Author:** ![uwechsler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uwechsler/32/5223_2.png) [@uwechsler](https://discourse.julialang.org/u/uwechsler)\
**Post date:** [September 21, 2018, 8:28am UTC](https://discourse.julialang.org/t/internal-error-when-running-run-cmd-c-start-exel-exe-on-windows/15124/5 "2018-09-21T08:28:58Z")

</div>

You were totally write. Looking at `pwd()` enabled us to solve the problem.  
The working directory was a folder on the server and not a local path.  
After changing the working directory to a local path, the error disappeared.
