-
I am trying to use the args feature mentioned in the documentation but it keeps failing with different errors depending on the parameters passed. As an example, the following command targeting a specific platform is successful on terminal or when using python's subprocess but if fails when using Terminal - Works Ok: Python Script using subprocess - Works Ok:
Python script using args - Fails:
Error: What could I be doing wrong? Pyarmor Details:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Try this: |
Beta Was this translation helpful? Give feedback.
-
Yep. That worked. Thanks! It now looks so obvious now that you post it. Not sure if it could help others if such an example was added to the docs. |
Beta Was this translation helpful? Give feedback.
-
Good idea. Check this patch a6a006e |
Beta Was this translation helpful? Give feedback.
-
That will for sure help future users get it right first time. Thanks! |
Beta Was this translation helpful? Give feedback.
Try this:
args = ['gen', '--platform', 'alpine.x86_64', file_to_obfuscate]