Skip to content

feat: add refork #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add refork #2

wants to merge 1 commit into from

Conversation

mek-yt
Copy link

@mek-yt mek-yt commented Jan 26, 2023

Hi,

I wanted to create a small GUI for Hugo, the server can be run with the Hugo function running an uncontrollable infinite loop, so with goroutine, parent can't kill children.
I found this library which allow me kill of the forked process but doesn't allow to fork again without recreating the function (restart the server). So I create a ReFork function using previous Function and rewriting Function.c with a new os.Cmd.

Do you think there is a better way ?

Thanks

@mek-yt mek-yt deleted the branch kraken-hpc:main January 26, 2023 16:12
@mek-yt mek-yt closed this Jan 26, 2023
@mek-yt mek-yt deleted the main branch January 26, 2023 16:12
@mek-yt mek-yt restored the main branch January 26, 2023 16:13
@mek-yt mek-yt reopened this Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy