Skip to content

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