Bug 45386

GemStone/S 64 Bit

3.2.16, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8.1, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2

3.3

GsHostProcess class >> fork: does not handle single quotes

GsHostProcess class >> fork: accepts a String argument containing a command line. This string may include quotes per the command line syntax; double quotes were handled correctly, but using single quotes resulted in syntax errors.

For example:
   GsHostProcess fork: '/bin/bash -c ''echo foo/bar'''

resulted in:
   foo/bar': -c: line 0: unexpected EOF while looking for matching ''
   foo/bar': -c: line 1: syntax error: unexpected end of file


                

Last updated: 7/2/15