> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to keep child process of an app that launched from startup command alive.

ggLeap kills all apps that it did not intentionally start so we need to make ggLeap start the app to avoid this.

In this example we will use a miner app because most miners launch cmd.exe.


1. Add the miner in the startup command
2. Since it is launching cmd.exe we also need to add cmd.exe in the startup commands
3. It should be long running, and should have the same trigger type as the miner.

Example setup

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15861427/undefined-Mar-31-2025-12-39-17-0045-AM.png?version=1&modificationDate=1743381568039&cacheVersion=1&api=v2)