community: github.com/documize/community/core/osutil Index | Files

package osutil

import "github.com/documize/community/core/osutil"

Index

Package Files

command.go

func CommandWithTimeout Uses

func CommandWithTimeout(command *exec.Cmd, timeout time.Duration) ([]byte, error)

CommandWithTimeout runs a command but stops it if it does not finish within the timout above.

Package osutil imports 5 packages (graph). Updated 2019-02-08. Refresh now. Tools for package owners.