# Running Julia Script through another Script

**URL:** <https://discourse.julialang.org/t/running-julia-script-through-another-script/125744>\
**Category:** General Usage\
**Created:** [February 10, 2025, 11:33am UTC](https://discourse.julialang.org/t/running-julia-script-through-another-script/125744 "2025-02-10T11:33:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kamran\_Ali](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kamran_ali/32/213912_2.png) [@Kamran\_Ali](https://discourse.julialang.org/u/Kamran_Ali)\
**Post date:** [February 10, 2025, 11:33am UTC](https://discourse.julialang.org/t/running-julia-script-through-another-script/125744/1 "2025-02-10T11:33:37Z")

</div>

I have two scripts A.jl and B.jl, and want to create a script in A.jl that runs B.jl, if there is any idea, how can i do that ? In short, I want to run my julia script through another julia file.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [February 10, 2025, 11:51am UTC](https://discourse.julialang.org/t/running-julia-script-through-another-script/125744/2 "2025-02-10T11:51:47Z")

</div>

`include("B.jl")` if you want to run in the same process, and `run(`julia B.jl`)` if you want to run in a separate process.
