Commit Graph

9 Commits

Author SHA1 Message Date
shirou 145dca90f7 change to use CommandContext. 2018-03-31 21:35:53 +09:00
Michael Schurter 042305ee4a Remove SetEnv on all platforms 2017-08-16 15:32:21 -07:00
Sean Chittenden 635b971c0e
Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
Shirou WAKAYAMA adf2f03a48 fix build and path error 2016-04-01 22:28:07 +09:00
Shirou WAKAYAMA bce9212def fix build bugs. 2016-04-01 22:22:03 +09:00
Shirou WAKAYAMA d21ed2b40d search path via exec.LookPath before actual invoke. 2016-04-01 22:13:05 +09:00
Shirou WAKAYAMA 944429d994 fixed by errcheck 2016-04-01 21:02:20 +09:00
Shirou WAKAYAMA 3166d41538 set LC_ALL to C in order to avoid number formatting problem. 2016-02-17 16:29:35 +09:00
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
2015-10-18 20:40:01 -07:00