(#23219) - Fix support of extra arguments in windows service

Without this patch, extra arguments specified in the service definition are not parsed correctly by the service class.