# Notepad closes command window immediately

**URL:** <https://community.freefem.org/t/notepad-closes-command-window-immediately/2042>\
**Category:** FreeFEM installation\
**Created:** [October 5, 2022, 1:37pm UTC](https://community.freefem.org/t/notepad-closes-command-window-immediately/2042 "2022-10-05T13:37:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhy622](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/mhy622/32/1349_2.png) [@mhy622](https://community.freefem.org/u/mhy622)\
**Post date:** [October 5, 2022, 1:37pm UTC](https://community.freefem.org/t/notepad-closes-command-window-immediately/2042/1 "2022-10-05T13:37:29Z")

</div>

Hello all,  
I updated my Freefem to latest version. Before I used Crimson Editor as text editor and now I want to try Notepad++. But I have a problem here. When I run my code (edp) in Notepad to compile, the freefem command window pop up and close immediately so I can’t see anything.  
How can I solve the problem?  
Thank you.

---

<div class="post-metadata">

**Author:** ![marcodeba](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marcodeba](https://community.freefem.org/u/marcodeba)\
**Post date:** [October 5, 2022, 8:36pm UTC](https://community.freefem.org/t/notepad-closes-command-window-immediately/2042/2 "2022-10-05T20:36:29Z")

</div>

Dear @mhy622,  
I do not know the reason for which you are encountering this problem. By the way my suggestion to have full control of your FreeFem output is to run your .edp script directly from the command line.  
This procedure would allow you to use your favourite text editor (notepad++) for the code development, while keeping under control the output on the prompt.

I normally use gitbash as a command line, which, in case, have also an embedded (very basic) text editor available (just type nano _filename_ to enter on it).

---

<div class="post-metadata">

**Author:** ![12da](https://avatars.discourse-cdn.com/v4/letter/1/e495f1/32.png) [@12da](https://community.freefem.org/u/12da)\
**Post date:** [February 10, 2023, 1:28pm UTC](https://community.freefem.org/t/notepad-closes-command-window-immediately/2042/3 "2023-02-10T13:28:07Z")

</div>

Hello, I have the same problem. Did you manage to solve it?

Thank you.

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [February 10, 2023, 3:04pm UTC](https://community.freefem.org/t/notepad-closes-command-window-immediately/2042/4 "2023-02-10T15:04:48Z")

</div>

I sorry, I have not windows computer, so I can not try, but I know with windows 11 the command launch have some problem, I think the default search command path is not ok,
