Skip to content

Instantly share code, notes, and snippets.

@ijt
Created May 4, 2011 00:01
Show Gist options
  • Save ijt/954488 to your computer and use it in GitHub Desktop.
Save ijt/954488 to your computer and use it in GitHub Desktop.
How to make a system call in golang and check the return status
The new interface for system calls in Go is much better than it was. Check the examples here:
http://golang.org/pkg/os/exec/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment