Our great sponsors
-
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.
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.
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 :)
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.
Related posts
- Considerations for a long-running Raspberry Pi
- Tigris: Globally Distributed S3-Compatible Object Storage
- Dozzle: Lightweight, web-based Docker log viewer with real-time monitoring
- What's the canonical way of doing it in rust?
- Dozzle: Lightweight, web-based Docker log viewer with real-time monitoring