Tag

os/exec

0 views collected around this technical thread.

Go Programming World
Go Programming World
Jan 17, 2025 · Backend Development

A Quick Guide to Go's os/exec Package: Running External Commands and Real‑World Use Cases

This article introduces Go's built‑in os/exec package, explains its exported types and methods, demonstrates how to run commands synchronously or in the background, capture output, handle pipes, environment variables, working directories, and shows a practical case study using the tempredis library to start a Redis server programmatically.

GoRedisTutorial
0 likes · 21 min read
A Quick Guide to Go's os/exec Package: Running External Commands and Real‑World Use Cases
Laravel Tech Community
Laravel Tech Community
Nov 2, 2022 · Backend Development

Go 1.19.3 and 1.18.8 Release: Security Fixes for os/exec and syscall Packages

Go versions 1.19.3 and 1.18.8 were released, each containing a security fix that addresses unsanitized NUL handling in the os/exec and syscall packages, particularly on Windows, and includes runtime error corrections.

GoSecuritybackend
0 likes · 2 min read
Go 1.19.3 and 1.18.8 Release: Security Fixes for os/exec and syscall Packages