using pm2 with an executable hides the windows
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
I'm using PM2 to monitor executables that should start with a window visible. Unfortunately PM2 somehow hides the windows so I cannot monitor what's in those windows anymore including consoles that should also show up when the executables are running.
I need PM2 to show the consoles/windows/GUI that should show up when running the executables.
How could we reproduce this issue?
Just start a executable that has a window or GUI via PM2 with interpreter none.
"apps" : [{
"name" : "xxxxx",
"script" : "./yyyyy.exe",
"args" : "",
"exec_interpreter" : "none",
"exec_mode" : "fork_mode",
"cwd" : "./zzzzz/"
},
Supporting information
--- Daemon -------------------------------------------------
pm2d version : 4.5.0
node version : 15.1.0
node path : not found
argv : C:\Program Files\nodejs\node.exe,C:\Users\admin\AppData\Roaming\npm\node_modules\pm2\lib\Daemon.js
argv0 : node
user : undefined
uid : N/A
gid : N/A
uptime : 0min
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce on Windows using the shown PM2 configuration with an executable and exec_interpreter set to none, then trace how PM2 launches that process. Done means the executable's console or GUI window remains visible when started through PM2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100