This patch was applied previoulsy to the main branch by Christopher Faylor. It disables shell use unless explicitly enabled. As shell use is still experimental and has several problems, I think that this must also be applied to 5.2 branch. As Christopher asked me to do this, the RFA is mainly about the format of the ChangeLog entry... ChangeLog entry: 2002-04-08 Pierre Muller from 2002-03-22 Christopher Faylor patch in main branch. * win32-nat.c (child_create_inferior): Check for proper shell to use here, in case the user changes it on the fly. (_initialize_inftarg): Remove shell path considerations.