Support for new sys.path code in config.c
#include <console.h>
#endif
+char *fileargument;
+
main(argc, argv)
int argc;
char **argv;
extern char *about_message;
extern char *about_item;
extern char *getversion(), *getcopyright();
- static char buf[256];
+ static char buf[1024];
sprintf(buf, "Python %s\r\
\r\
%s\r\
else
console_options.title = "\pPython";
#endif /* CONSOLE_IO */
+ if ( argc > 1 )
+ fileargument = argv[1]; /* Mod by Jack to do chdir */
realmain(argc, argv);
}