Issue #5323 has been reported by James French. ---------------------------------------- Bug #5323: Bug in CreateChild in win32.c http://redmine.ruby-lang.org/issues/5323 Author: James French Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: 1.9.2-p290 Revision 31811 by yugui (http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31811) which was merged from the trunk contains a bug. It should be lstrlen instead of lstrlenW as its a char* not a wchar_t*. This has caused us a lot of problems with spawn failing spuriously. This was introduced between 1.9.2-p180 and 1.9.2-p290 and should, IMO, make it into the next patch release of 1.9.2. -- http://redmine.ruby-lang.org