Learn Backend Development Part-Time, Online
Google AI Professional Certificate - Learn AI Skills That Get You Hired
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to execute external system commands from within your Golang programs using the exec package. Explore the Command struct, Command function, and various methods like Run, Wait, and LookPath. Discover techniques for creating and executing commands, including the oneliner approach, and gain practical insights into integrating system commands into your Go projects.
Syllabus
Intro
Overview
Command struct
Command function
How to use it
Creating the command
Oneliner approach
Run run
Wait
LookPath
Taught by
Donald Feury