# Hide phantomjs.exe

**URL:** <https://discourse.nodered.org/t/hide-phantomjs-exe/8096>\
**Category:** General\
**Created:** [18 February 2019 09:25 UTC](https://discourse.nodered.org/t/hide-phantomjs-exe/8096 "2019-02-18T09:25:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hathemi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hathemi/32/3792_2.png) [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Post date:** [18 February 2019 09:25 UTC](https://discourse.nodered.org/t/hide-phantomjs-exe/8096/1 "2019-02-18T09:25:46Z")

</div>

i have installed pm2 and i have windows 10 system.i noticed that when i creat a pdf file phantomjs.exe command line appears. How can i hide it.

 ![cmd](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/17718d66493f2022c2fdd44913f26bc34963c538.jpeg)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [18 February 2019 09:33 UTC](https://discourse.nodered.org/t/hide-phantomjs-exe/8096/2 "2019-02-18T09:33:34Z")

</div>

thus presumably that is something to do with you creating pdf... As that is not part of core of Node-RED you would need to work with the author of whatever node/package you are using to create pdf.

---

<div class="post-metadata">

**Author:** ![RoganFPS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/roganfps/32/3208_2.png) [@RoganFPS](https://discourse.nodered.org/u/RoganFPS)\
**Post date:** [18 February 2019 10:03 UTC](https://discourse.nodered.org/t/hide-phantomjs-exe/8096/3 "2019-02-18T10:03:08Z")

</div>

@dceejay is right this isn't really node-red related but I'll assume you are passing a phantomjs command to a cmd window in some sort of timer flow? Try passing the /min command as well and it _should_ run the cmd window minimised, but it will always spawn a cmd window when the command is being ran by a logged in user.
