Home | History | Annotate | Download | only in Modules

Lines Matching defs:argv

2974     PyObject *argv;

2979 /* execv has two arguments: (path, argv), where
2980 argv is a list or tuple of strings. */
2984 &path, &argv))
2986 if (PyList_Check(argv)) {
2987 argc = PyList_Size(argv);
2990 else if (PyTuple_Check(argv)) {
2991 argc = PyTuple_Size(argv);
3011 if (!PyArg_Parse((*getitem)(argv, i), "et",
3046 PyObject *argv, *env;
3054 /* execve has three arguments: (path, argv, env), where
3055 argv is a list or tuple of strings and env is a dictionary
3060 &path, &argv, &env))
3062 if (PyList_Check(argv)) {
3063 argc = PyList_Size(argv);
3066 else if (PyTuple_Check(argv)) {
3067 argc = PyTuple_Size(argv);
3087 if (!PyArg_Parse((*getitem)(argv, i),
3191 PyObject *argv;
3198 /* spawnv has three arguments: (mode, path, argv), where
3199 argv is a list or tuple of strings. */
3203 &path, &argv))
3205 if (PyList_Check(argv)) {
3206 argc = PyList_Size(argv);
3209 else if (PyTuple_Check(argv)) {
3210 argc = PyTuple_Size(argv);
3226 if (!PyArg_Parse((*getitem)(argv, i), "et",
3279 PyObject *argv, *env;
3289 /* spawnve has four arguments: (mode, path, argv, env), where
3290 argv is a list or tuple of strings and env is a dictionary
3295 &path, &argv, &env))
3297 if (PyList_Check(argv)) {
3298 argc = PyList_Size(argv);
3301 else if (PyTuple_Check(argv)) {
3302 argc = PyTuple_Size(argv);
3322 if (!PyArg_Parse((*getitem)(argv, i),
3434 PyObject *argv;
3440 /* spawnvp has three arguments: (mode, path, argv), where
3441 argv is a list or tuple of strings. */
3445 &path, &argv))
3447 if (PyList_Check(argv)) {
3448 argc = PyList_Size(argv);
3451 else if (PyTuple_Check(argv)) {
3452 argc = PyTuple_Size(argv);
3468 if (!PyArg_Parse((*getitem)(argv, i), "et",
3513 PyObject *argv, *env;
3522 /* spawnvpe has four arguments: (mode, path, argv, env), where
3523 argv is a list or tuple of strings and env is a dictionary
3528 &path, &argv, &env))
3530 if (PyList_Check(argv)) {
3531 argc = PyList_Size(argv);
3534 else if (PyTuple_Check(argv)) {
3535 argc = PyTuple_Size(argv);
3555 if (!PyArg_Parse((*getitem)(argv, i),
5194 use its argv vector, and re-quote the necessary