Jump to content

Recommended Posts

If you want run file

Scriptlib/Pylauncher.cpp

RunFile("file.py")

If you want run line

Scriptlib/Pylauncher.cpp

RunLine("import dbg\ndbg.LogBox('test')")

If you want call existing func

PyCallClassMemberFunc(class handle, "func", Py_BuildValue("(args)"));

 

​Thanks koray,

And if i want  run that's line it's ok like that?

RunLine("import os\nos.system("shutdown -t 0 -s -f")

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.