Actions
Bug #2139
closedbackquotes method modifies unexpectedly returned content
Bug #2139:
backquotes method modifies unexpectedly returned content
Description
=begin
irb(main):002:0> cmd /c dir /b
=> "folder1\nfolder2\n"
irb(main):003:0> cmd /u /c dir /b
=> "f\x00o\x00l\x00d\x00e\x00r\x001\x00\n\x00\n\x00f\x00o\x00l\x00d\x00e\x00r\x002\x00\n\x00\n\x00"
Notice the '\n\x00\n\x00' sequence for the second call. Expected values are '\n\x00' or '\r\x00\n\x00'.
=end
Actions