simple

command
v2.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 4 Imported by: 0

README

Simple

So you just want to execute a child process with a minimum of fuss, just use goexec.Run() as in this example.

Expected Output

Depending on OS & network conditions of course

PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=58 time=12.6 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=58 time=10.2 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=58 time=13.5 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=58 time=19.1 ms

--- 127.0.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 10.156/13.850/19.109/3.274 ms

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL