couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hammond (JIRA)" <>
Subject [jira] Updated: (COUCHDB-374) couchspawnkillable doesn't work on windows
Date Wed, 03 Jun 2009 10:06:07 GMT


Mark Hammond updated COUCHDB-374:

    Attachment: couchspawnkillable_win.c

Added apache license, updated comments...

> couchspawnkillable doesn't work on windows
> ------------------------------------------
>                 Key: COUCHDB-374
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>         Environment: windows
>            Reporter: Mark Hammond
>         Attachments: couchspawnkillable_win.c, 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.

View raw message