Inheriting parent process console...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ayende Rahien

    Inheriting parent process console...

    The scenario is as follows:

    I've a file (svnserve) that is invoked by OpenSSH and that I need to
    pass some additional info to (-r d:\repos\)
    My problem is that I can't seem to manage that.
    I tried to create a batch file with the same name and rename svnserve,
    but that doesn't work.
    I want to create a simple application that can load a child process
    and let it take over it's console, similar to the way cmd.exe does
    this.
    The idea is that then I'll be able to use this application to load the
    real svnserve with the correct parameters.

    Any ideas on how to do this? I searched for this but didn't find
    exampeles.
    I don't mind doing a native application, but I can't find any info on that either.
Working...