|
JussiJ |
at Feb 22, 2016 at 11:31 pm
|
⇧ |
| |
The reason this happens is all Windows applications have a concept of a
current working folder and that folder is locked for certain actions like
delete and rename.
For example, if you open a command prompt, change to a particular folder
location and then try to rename that folder using Windows explorer you will
get the exact same error. The folder will be locked until you close that
command prompt.
Now, because gocode is just another windows app, it too has a current
working folder and while gocode is running that folder will be locked.
This is a feature of Windows, not a feature of gocode.
I have to manually kill the gocode.exe process.
You could also run this command:
gocode.exe close
On Tuesday, February 23, 2016 at 9:52:49 AM UTC+11, JM wrote:when i am trying to rename a folder. I have to kills that process for it
to work.
On Monday, February 22, 2016 at 3:48:36 PM UTC-7, JussiJ wrote:What do you mean by locked?
I'm assuming Windows is reporting the folder as locked, but what action
are you trying to perform that is resulting in the message?
On Tuesday, February 23, 2016 at 5:40:38 AM UTC+11, JM wrote:
Anyone know what is causing this? When my programs are done executing,
even after i close the command window, folders with my go files are still
locked. I am using windows 10 and atom.io if that matters. I have to
manually kill the gocode.exe process.
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
[email protected].
For more options, visit
https://groups.google.com/d/optout.