You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/22 06:44:53 UTC
[jira] [Closed] (COUCHDB-374) couchspawnkillable doesn't work on
windows
[ https://issues.apache.org/jira/browse/COUCHDB-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sam Bisbee closed COUCHDB-374.
------------------------------
Resolved for a while. Closing.
> couchspawnkillable doesn't work on windows
> ------------------------------------------
>
> Key: COUCHDB-374
> URL: https://issues.apache.org/jira/browse/COUCHDB-374
> Project: CouchDB
> Issue Type: Bug
> Environment: windows
> Reporter: Mark Hammond
> Attachments: couchspawnkillable_win.c
>
>
> The shell script 'couchspawnkillable' doesn't work on windows, meaning lots of things are broken in the trunk. It might be possible to bash cygwin/msys etc to work, but I think a better solution for windows is a custom little C app which does the same basic thing.
> I've attached the source for such an app and it works for me. It creates a suspended child process with the same handles as us, then echos the 'kill' command, then spawns the real app and terminates. The 'kill command' is a reference to the same couchspawnkillable.exe but with a '--kill' command-line. I've not tried to integrate with a build system, but simple instructions are at the top of the file.
> Attaching it here so it doesn't get lost...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira