From: Marc-Andre Lafortune Date: 2012-03-07T08:07:27+09:00 Subject: [ruby-core:43101] [ruby-trunk - Bug #5324][Closed] Bug in CreateChild in win32.c Issue #5324 has been updated by Marc-Andre Lafortune. Status changed from Open to Closed Duplicate of #5325 ---------------------------------------- Bug #5324: Bug in CreateChild in win32.c https://bugs.ruby-lang.org/issues/5324 Author: James French Status: Closed 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://bugs.ruby-lang.org/