# External command interpolation without quoting spaces

**URL:** https://discourse.julialang.org/t/external-command-interpolation-without-quoting-spaces/70075
**Category:** General Usage
**Tags:** question
**Created:** [October 19, 2021, 11:36pm UTC](https://discourse.julialang.org/t/external-command-interpolation-without-quoting-spaces/70075 "2021-10-19T23:36:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chkwon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chkwon/32/3632_2.png) [@chkwon](https://discourse.julialang.org/u/chkwon)
#### Post date: [October 19, 2021, 11:36pm UTC](https://discourse.julialang.org/t/external-command-interpolation-without-quoting-spaces/70075/1 "2021-10-19T23:36:43Z")

</div>

```julia
program = "my_program"
options = ["-t 10", "-r 5"]
command = `$(program) $(options)`
@show command
# I get `my_program '-t 10' '-r 5'`
# I want `my_program -t 10 -r 5`

```

In the above, I want to pass several options to my external program. How can I remove those single quotes around each option?

---

<div class="post-metadata">

### Author: ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)
#### Post date: [October 20, 2021, 12:14am UTC](https://discourse.julialang.org/t/external-command-interpolation-without-quoting-spaces/70075/2 "2021-10-20T00:14:24Z")

</div>

Can you do the following?

```julia
options = ["-t", "10", "-r", "5"]

```

---

<div class="post-metadata">

### Author: ![chkwon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chkwon/32/3632_2.png) [@chkwon](https://discourse.julialang.org/u/chkwon)
#### Post date: [October 20, 2021, 12:23am UTC](https://discourse.julialang.org/t/external-command-interpolation-without-quoting-spaces/70075/3 "2021-10-20T00:23:23Z")

</div>

Thanks a lot! It works!

I was doing `push!(command.exec, option)` one by one. LOL.
