This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Filename globbing with non-Cygwin parents...


Hi,

I just did more investigating and I think I understand why non-Cygwin
parents will cause children to glob the commandline arguments.  If the PID
environment variable were still used in b19.1 (it's not - correct?) instead
of the shared_info structure I could fake out children that I'm a Cygnus
application.

Is it possible to maybe use both the old PID method and the newer one and
maybe just OR them together to determine parentship?  I need to be able to
pretend I'm a Cygnus application somehow and I don't know how to do this
unless there's a PID variable.

Or is there a better way to turn off globbing in children?  I would also
need a way for a non-Cygwin application to determine if its parent is a
Cygwin application.

Any suggestions?  I'm not very familiar with the cygwin internals...

Thanks,
Jason
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]