launcher, launchctl: command line arguments are now numbered %1 to %9

This commit is contained in:
Bill Zissimopoulos
2016-05-13 10:42:23 -07:00
parent ec2494433b
commit 5491187e1d
2 changed files with 7 additions and 7 deletions

View File

@ -210,7 +210,7 @@ int wmain(int argc, wchar_t **argv)
if (0 == lstrcmpW(L"start", argv[0]))
{
if (3 > argc || argc > 12)
if (3 > argc || argc > 11)
usage();
return start(PipeBuf, PIPE_BUFFER_SIZE, argv[1], argv[2], argc - 3, argv + 3);