Running Notion via CMD with run_notionApp.exe
ties it to the terminal, causing it to close when the window exits. How do I launch it detached? I tried using cmd /c run_notionApp.exe
with no luck.
In my experience, running applications independently of the command prompt can be accomplished by launching them through a different execution method. What worked for me was using the native Windows command ‘start’ with the executable, for example, ‘start “” run_notionApp.exe’. This tells the system to start a new process detached from the command prompt window. I found that creating a shortcut that uses this approach also made it easier to launch Notion without the additional CMD window cluttering up my workspace. This method typically offers a smooth operation.
PowerShell can be a good alternative to avoid the command prompt window. In my experience, using the Start-Process cmdlet with the device’s appropriate parameters has worked well. For example, using ‘Start-Process -FilePath “run_notionApp.exe” -WindowStyle Hidden’ effectively detaches the process. This method ensures the application runs independently, and offers additional control over the application’s window mode. Adjusting your security policy to allow script execution may be necessary, which is a minor setup compared to the resulting seamless launch.
hey, try a vbs script to launch it detached. i made one with: createobject(“wscript.shell”).run “run_notionApp.exe”,0,false. just double click the script & notion starts sans cmd window. works perf in my case.