Chris, I've just picked up the latest changes from CVS and I'm having a problem with run.exe from a .BAT file (i.e., from my current cygwin.bat mechanism).
After a bit of tracing, I've found that it comes down to NtQueryObject in handle_to_fn() in dtable.cc. NtQueryObject succeeds but the Name.Buffer pointer in the OBJECT_NAME_INFORMATION structure is NULL (and both the Name.Length and Name.MaximumLength fields are 0 too). Quite how that's meant to be a successful operation I'm very far from clear. I've also not the foggiest exactly what's happening, as run.exe fails only if not run from a cygwin process (i.e. only fails in BAT files or from the command prompt). I'm just changing my local copy to check for this problem and see if it otherwise works. All else seems okay so far. // Conrad
