Improved blanks handling in Windows command lines
commit2f0c9686e23b96544fef66073f4ff1e772a0e921
authorDimitar Zhekov <dimitar.zhekov@gmail.com>
Sat, 4 Apr 2015 16:46:45 +0000 (4 19:46 +0300)
committerDimitar Zhekov <dimitar.zhekov@gmail.com>
Sat, 4 Apr 2015 16:46:45 +0000 (4 19:46 +0300)
treeca09a67b2e0ad8cc872d56e0f18a181513fc3ed1
parentac00cc0ff6b8555cfe7142579ff6f82f7d6fde3d
Improved blanks handling in Windows command lines

The argument quoting must be permissive (g_ascii_isspace() doesn't
handle '\v'), the program name to arguments separator must be fixed
to restrictive, and the leading spaces are somewhere between.

Also fixed the test program to check for exactly 2 arguments.
src/spawn.c