You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been facing a weird problem here and as last resort, I changed the file from being hidden to regular and the exec ran fine. This is the only change I made in the code at all.
Here's an example.
Not working:
cmd := exec.Command("./.file") //notice the file starts with a dot, this will NOT work
cmd.Start() //execute it
Working:
cmd := exec.Command("./file") //Works fine!!!
cmd.Start() //execute it
Sorry if this is meant to happen but well, you should be able to exec whatever you want in my opinion.
Thanks
The text was updated successfully, but these errors were encountered:
I have been facing a weird problem here and as last resort, I changed the file from being hidden to regular and the exec ran fine. This is the only change I made in the code at all.
Here's an example.
Not working:
Working:
Sorry if this is meant to happen but well, you should be able to exec whatever you want in my opinion.
Thanks
The text was updated successfully, but these errors were encountered: