twisted / ampoule

Process pool for Twisted, using AMP
Other
12 stars 19 forks source link

Bootstrap script should be a separate file for compatability with other executables #25

Open heyakyra opened 5 years ago

heyakyra commented 5 years ago

https://github.com/twisted/ampoule/blob/master/ampoule/main.py#L107

The bootsrap script is a string that gets passed as a command to sys.executable with the -c option which presumes that this is being run by python.

https://github.com/twisted/ampoule/blob/master/ampoule/main.py#L282

As a script file is more generic and likely to be accepted as the main argument to whatever executable is running, that should be used instead.