[7] Results

Golang : Execute shell command

shell-command exec

A programming language will not be complete if there is no way for the developer to execute shell command. In this tutorial, we will show….... read more

Golang : Play .WAV file from command line

golang portaudio go-wave audio command-line


You have recorded your voice on a .wav file with the previous tutorial on how to activate….... read more

Unix/Linux : How to pipe/save output of a command to file?

linux unix save-output pipe-output-command

Problem :

You need to capture/pipe or save the output of a command execution in Unix/Linux to a file. How….... read more

Golang : Issue HTTP commands to server and port example

golang net-conn dialtcp http-command

Problem :

You want to issue or write HTTP command to a connection created by net.DialTCP() function. How to do….... read more

Golang : Pipe output from one os.Exec(shell command) to another command

golang os-exec io-pipe shell-command

Problem :

You want to execute one shell command with os.Exec() function, wait for it to complete and then pipe….... read more

Golang : ffmpeg with os/exec.Command() returns non-zero status

golang ffmpeg non-zero-status os-exec command run


You want to use ffmpeg with os/exec.Command() and Run() to create your video files.

However, it keeps bombing….... read more

Golang : Command line file upload program to server example

golang command-line-upload CreateFormFile mime-multipartFormDataContentType

Writing this tutorial for a friend who is using Golang to develop her IoT application. She needs a client program….... read more