# Embedded Julia changes original standart streams?

**URL:** https://discourse.julialang.org/t/embedded-julia-changes-original-standart-streams/22222
**Category:** Internals & Design
**Tags:** embedding
**Created:** [March 22, 2019, 10:16pm UTC](https://discourse.julialang.org/t/embedded-julia-changes-original-standart-streams/22222 "2019-03-22T22:16:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mmmm1998](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mmmm1998/32/7799_2.png) [@mmmm1998](https://discourse.julialang.org/u/mmmm1998)
#### Post date: [March 22, 2019, 10:16pm UTC](https://discourse.julialang.org/t/embedded-julia-changes-original-standart-streams/22222/1 "2019-03-22T22:16:40Z")

</div>

Hi, I development Qt application with embedded Julia (in some way). Main process with GUI (Client) starts another process with embedded Julia (server) via QProcess and working with the process via standart streams. All works fine, until server get a command “init julia”. Server process call `jl_init()` function and from this moment, I lose connection with the server process. Client process reports, that command to server writed to stdin, but server don’t respond. And server process reports, that after login command no another input commands sended. (actually it’s not quite right, i have very small time period, when communications works, after jl\_init called).

So, I suspect, that Julia change stdin and stdout of server process and for this reason I loose my client-server conne
