runtime/PLCObject.py
branchpython3
changeset 3776 1fbc900ca1ce
parent 3772 ec2babbd5698
child 3808 3e219f00151a
--- a/runtime/PLCObject.py	Thu Oct 20 19:30:23 2022 +0800
+++ b/runtime/PLCObject.py	Sun Oct 30 13:20:58 2022 +0800
@@ -56,7 +56,7 @@
 
 
 lib_ext = {
-    "linux2": ".so",
+    "linux": ".so",
     "win32":  ".dll",
 }.get(sys.platform, "")
 
@@ -80,8 +80,7 @@
         if os.path.exists(self.tmpdir):
             shutil.rmtree(self.tmpdir)
         os.mkdir(self.tmpdir)
-        # FIXME : is argv of any use nowadays ?
-        self.argv = [WorkingDir] + argv  # force argv[0] to be "path" to exec...
+        self.argv = []
         self.statuschange = statuschange
         self.evaluator = evaluator
         self.pyruntimevars = pyruntimevars