Ticket #1 (closed enhancement: fixed)

Opened 12 years ago

Last modified 11 years ago

Unhardcode startstop's named pipe

Reported by: stefan Owned by: stefan
Priority: trivial Milestone: Windows
Component: startstop Version: 7.4
Keywords: Cc:

Description

On Windows, startstop creates a named pipe called "HydraStartstopPipe?" which Startstop Console connects to if you're running startstop as a service. This pipe name should be configurable so that multiple instances of startstop can be run on the same machine. For example, I'm running Earlybird right now with a completely different set of shared memory ring keys than I have for my standard Earthworm install. I hard coded "HydraStartstopPipe?" to "EarthwormStartstopPipe?" and recompiled so I could do this, but this should be fixed properly.

Change History

comment:1 Changed 12 years ago by stefan

  • Milestone set to Windows

comment:2 Changed 11 years ago by paulf

To do this one properly, I think the startstop_service should have this configurable too so you could have more than one as a service....or is it more complicated for Windoze???

comment:3 Changed 11 years ago by stefan

I was figuring I'd make the name of the named pipe a startstop_nt.d parameter, which both starstop_service and regular starstop use.

comment:4 Changed 11 years ago by stefan

I was figuring I'd make the name of the named pipe a startstop_nt.d parameter, which both starstop_service and regular starstop use

comment:5 Changed 11 years ago by stefan

  • Status changed from new to closed
  • Resolution set to fixed

OK, this is done, tested a bit and checked into CVS. Ideally now someone would go and change startstopconsole to have a parameter that allows you to select which named pipe you want to connect to... But I figure right now people can have as many earthworms on Windows as they want, and ONE of these can be a startstop service. This is probably more than anyone would want in the first place. If we have a single request to update startstopconsole we can consider it.

Note: See TracTickets for help on using tickets.