Each argument to the command must be its own string in os.Exec.

V.

On Wednesday, 5 September 2018 10:32:44 UTC+2, Daniel Estiven Rico Posada 
wrote:
>
> Hello,
>
> Actually i'm working in a go application that receive a http request and 
> start some windows assistants. (RPA's)
>
> The assistants are executed from windows cmd: 
> > "C:/path/file.exe" --args
>
> When i start the assistant from cmd manually, in the task Manager i see 
> the arguments without quotation marks. But if i open the assistant from go 
> application the arguments are left with quotation marks.
>
>
>
> In golang i'm using the lib *"os/exec":*
>
> Internet explorer is only an example. 
>
> *Do you know what's the reason?*
>
> Thanks. 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to