I have WSL bash running in a cmd. I don't use it for anything, it just hangs there to keep the WSL system alive.

When I start X applications:

```
bash -c "DISPLAY=:0 xmessage hello &"

```

I get this result:

[![enter image description here](https://i.stack.imgur.com/yjOsj.png)](https://i.stack.imgur.com/yjOsj.png)

I can close down the command window without any problems, but it's rather annoying.

How can run commands without getting this cmd window every time?