If you try executing a command in emacs and receive an error similar to the following:
> apply: Doing vfork: no error
> apply: Doing vfork: resource temporarily unavailable [2 times]
> “linked dll data write copy failed”
Here is a workaround:
1. Exit all cygwin based programs.
2. Run c:\cygwin\bin\ash (may need to run as administrator)
3. In ash, run /bin/rebaseall
4. Run cygwin’s setup.exe
5. Reinstall Libs/libncurses7
Emacs should be capable of forking properly now.