Quantcast
Channel: [EN] Enduser support
Viewing all articles
Browse latest Browse all 10544

Help with autostart plugin

$
0
0

I'm starting developing plugins :)  

 

I want to call one sh script when my plugin start's up on boot, but how I can do that?

def autostart(reason, **kwargs):
	## HOW I CALL ONE SH SCRIPT?
	

def Plugins(**kwargs):
	return [PluginDescriptor(
				where =  PluginDescriptor.WHERE_AUTOSTART,
				fnc = autostart)]

Thanks


Viewing all articles
Browse latest Browse all 10544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>