mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
supporting run file for other folder
This commit is contained in:
parent
dd61622277
commit
f362df70c6
@ -3662,7 +3662,9 @@ PikaObj* pikaVM_runFile(PikaObj* self, char* file_name) {
|
||||
pika_platform_printf("(pikascript) all succeed.\r\n\r\n");
|
||||
|
||||
pikaMemMaxReset();
|
||||
obj_linkLibraryFile(self, "pikascript-api/pikaModules_cache.py.a");
|
||||
char* libfile_path =
|
||||
strsPathJoin(&buffs, pwd, "pikascript-api/pikaModules_cache.py.a");
|
||||
obj_linkLibraryFile(self, libfile_path);
|
||||
self = pikaVM_runSingleFile(self, file_name);
|
||||
strsDeinit(&buffs);
|
||||
return self;
|
||||
|
Loading…
x
Reference in New Issue
Block a user