couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hammond (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-374) couchspawnkillable doesn't work on windows
Date Wed, 03 Jun 2009 06:44:07 GMT
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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message