alexellis / alexellis/go-execute

Set environment variable per command

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
177
Forks
10
PR merge metrics
No merged PRs in 30d

Description

How can I do the equivalent of `$ FOO='BAR' bash -c 'echo $FOO'` ?

```
cmd := execute.ExecTask{
Command: "echo",
Args: []string{"$FOO"},
StreamStdio: false,
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.