mirror of
https://gitee.com/goploy/goploy.git
synced 2024-11-30 03:07:59 +08:00
F command line
This commit is contained in:
parent
1cfe351760
commit
9a09af076f
@ -58,7 +58,7 @@ func (ct customTransmitter) Exec() (string, error) {
|
||||
if ct.Project.TransferOption == "" {
|
||||
return "", nil
|
||||
}
|
||||
parts := strings.Fields(ct.String())
|
||||
parts, _ := utils.ParseCommandLine(ct.String())
|
||||
cmd := exec.Command(parts[0], parts[1:]...)
|
||||
if output, err := cmd.CombinedOutput(); err != nil {
|
||||
return string(output), err
|
||||
|
Loading…
Reference in New Issue
Block a user