chg, right number of args..
This commit is contained in:
@@ -240,7 +240,7 @@ static int CmdScriptRun(const char *Cmd) {
|
|||||||
py_args[i+1] = Py_DecodeLocale(argv[i], NULL);
|
py_args[i+1] = Py_DecodeLocale(argv[i], NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
PySys_SetArgv(argc, py_args);
|
PySys_SetArgv(argc+1, py_args);
|
||||||
|
|
||||||
// clean up
|
// clean up
|
||||||
for (int i = 0; i < argc; ++i) {
|
for (int i = 0; i < argc; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user