mirror of
https://github.com/foomo/squadron.git
synced 2025-10-16 12:35:42 +00:00
style: cleanup
This commit is contained in:
parent
626a5f5dd1
commit
17cf94c051
@ -12,7 +12,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Cmd struct {
|
type Cmd struct {
|
||||||
// cmd *exec.Cmd
|
|
||||||
command []string
|
command []string
|
||||||
cwd string
|
cwd string
|
||||||
env []string
|
env []string
|
||||||
@ -24,8 +23,7 @@ type Cmd struct {
|
|||||||
func NewCommand(name string) *Cmd {
|
func NewCommand(name string) *Cmd {
|
||||||
return &Cmd{
|
return &Cmd{
|
||||||
command: []string{name},
|
command: []string{name},
|
||||||
//wait: true,
|
env: os.Environ(),
|
||||||
env: os.Environ(),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user