need help with "os/exec"

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cmd

    Non-blocking external commands in Go with streaming output (by go-cmd)

  • Also I know your new solution doesn't involve using os.exec anymore, but for what it's worth https://github.com/go-cmd/cmd is my go to package for execing stuff in Go. It has a better api imo and helps avoid some of the race conditions and deadlocks possible with using os.exec directly.

  • krok

    The main server of the hook management system

  • As others suggested, using the API is nicer. If you are looking for a nice example on how to do that take a look at my docker container executor code here: https://github.com/krok-o/krok/blob/main/pkg/krok/providers/executor/in_memory_executor.go :)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts