Skip to content

A python module as an alt to default exec() fun , with new features : )

License

Notifications You must be signed in to change notification settings

merwin-asm/ExeLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ExeLib 1.0.1

A python module as an alt to default exec() fun , with new features : )

darkmash-org


For getting return and logging from exec and also limit cpu time and ram usage...

Use: from Exelib import exec_

Install !!

pip install ExeLib

How to return ??

  __reexec__ <whatever you want to return>

How to log ??

 __logging__ <whatever you want to log>

How to use auto return ??

exec_("bla bla bla" , auto_return = "<something you want to return , when the program crashes>")

How to access these ??

rets , logs = exec_("bla bla bla")

How to set cpu time ??

  exec_(cmd,cpu_t= <time in seconds>)

How to limit ram usage ??

exec_(cmd,ram_u= <max-size>)

About

A python module as an alt to default exec() fun , with new features : )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages