Lines Matching defs:papszArgs

1224  * @param   papszArgs           The arguments.
1226 * 'su' like programs at the start of papszArgs.
1232 static RTEXITCODE RelaunchElevatedNative(const char *pszExecPath, const char **papszArgs, int cSuArgs, int cMyArgs,
1253 rc = RTGetOptArgvToString(&pszCmdLine, &papszArgs[cSuArgs + 1], RTGETOPTARGV_CNV_QUOTE_MS_CRT);
1384 (char * const *)&papszArgs[cSuArgs + 3],
1420 int rc = RTGetOptArgvToString(&pszCmdLine, &papszArgs[cSuArgs], RTGETOPTARGV_CNV_QUOTE_BOURNE_SH);
1443 papszArgs[cSuArgs - 4] = szExecTool;
1444 papszArgs[cSuArgs - 3] = "--comment";
1445 papszArgs[cSuArgs - 2] = iCmd == CMD_INSTALL
1450 papszArgs[cSuArgs - 1] = "--";
1459 papszArgs[cSuArgs - 4] = szExecTool;
1460 papszArgs[cSuArgs - 3] = "--description";
1461 papszArgs[cSuArgs - 2] = iCmd == CMD_INSTALL
1466 papszArgs[cSuArgs - 1] = "--";
1469 papszArgs[cSuArgs - 4] = szExecTool;
1470 papszArgs[cSuArgs - 3] = "-au";
1471 papszArgs[cSuArgs - 2] = "root";
1472 papszArgs[cSuArgs - 1] = pszCmdLine;
1473 papszArgs[cSuArgs] = NULL;
1476 papszArgs[cSuArgs - 2] = szExecTool;
1477 papszArgs[cSuArgs - 1] = pszCmdLine;
1478 papszArgs[cSuArgs] = NULL;
1489 papszArgs[cSuArgs - 1] = szExecTool;
1500 papszArgs[cSuArgs - 9] = szXterm;
1501 papszArgs[cSuArgs - 8] = "-T";
1502 papszArgs[cSuArgs - 7] = iCmd == CMD_INSTALL
1507 papszArgs[cSuArgs - 6] = "-e";
1508 papszArgs[cSuArgs - 5] = szExecTool;
1509 papszArgs[cSuArgs - 4] = "-";
1510 papszArgs[cSuArgs - 3] = "root";
1511 papszArgs[cSuArgs - 2] = "-c";
1512 papszArgs[cSuArgs - 1] = pszCmdLine;
1513 papszArgs[cSuArgs] = NULL;
1528 rc = RTProcCreateEx(papszArgs[iSuArg], &papszArgs[iSuArg], RTENV_DEFAULT, 0 /*fFlags*/,
1543 RTMsgError("Error while waiting for '%s': %Rrc", papszArgs[iSuArg], rc);
1546 RTMsgError("Failed to execute '%s': %Rrc", papszArgs[iSuArg], rc);
1612 char const **papszArgs = (char const **)RTMemTmpAllocZ((cSuArgs + cArgs + 1) * sizeof(const char *));
1613 if (papszArgs)
1616 papszArgs[iDst++] = argv[0];
1617 papszArgs[iDst++] = "--stdout";
1618 papszArgs[iDst++] = szStdOut;
1619 papszArgs[iDst++] = "--stderr";
1620 papszArgs[iDst++] = szStdErr;
1621 papszArgs[iDst++] = "--elevated";
1623 papszArgs[iDst++] = argv[iSrc];
1628 rcExit = RelaunchElevatedNative(szExecPath, papszArgs, cSuArgs, cArgs, iCmd, pszDisplayInfoHack);
1636 RTMemTmpFree(papszArgs);
1939 char **papszArgs;
1940 rc = RTGetOptArgvFromString(&papszArgs, &cArgs, pszCmdLine, NULL);
1944 rc = main(cArgs, papszArgs);
1946 RTGetOptArgvFree(papszArgs);