Philippe Teuwen
6d3c1d0223
script list: recurse in subdirs
2020-08-13 23:10:11 +02:00
Philippe Teuwen
f69739da79
make style
2020-06-19 18:34:47 +02:00
Philippe Teuwen
797fa7d01a
Tolerate exit-like calls from embedded Python script
...
Now sys.exit(0) is silently accepted, while
quit() / raise SystemExit / sys.exit() / sys.exit(n) / exit()
will output sth a warning such as
"Script terminated by SystemExit -1"
Still, don't call os._exit(0), it immediately exits.
2020-06-13 14:53:47 +02:00
Philippe Teuwen
224cb2ffd7
make style
2020-06-08 03:15:10 +02:00
iceman1001
a62199ac0f
fix: coverity 290109 resouce leak
2020-06-02 09:15:56 +02:00
iceman1001
a8c3859ed1
chg, 'script run' - added hint
2020-05-27 10:19:22 +02:00
Philippe Teuwen
fcfdd92407
python: adjust help, hide more if no python available, search lua/cmd/py if no extension given
2020-05-27 01:15:20 +02:00
Philippe Teuwen
b4c715d8fb
script run: look for all three extensions if not specified
2020-05-27 00:40:01 +02:00
iceman1001
125e05ec0e
chg, clean up
2020-05-26 21:58:50 +02:00
iceman1001
176f0dfe75
chg, function available in v3.6 Travis has v3.5...
2020-05-26 17:35:27 +02:00
iceman1001
f7537519ff
chg, make python aware of pm3 search paths
2020-05-26 14:41:58 +02:00
iceman1001
3f02fa6e34
chg, right number of args..
2020-05-26 13:37:28 +02:00
iceman1001
4aa4006167
chg, python should close the script file
2020-05-26 13:09:18 +02:00
iceman1001
366ac6a41f
creating argc/argv
2020-05-26 12:35:26 +02:00
iceman1001
e106a5717c
simple script working
2020-05-26 12:17:41 +02:00
iceman1001
6e3e1baef7
logsss
2020-05-26 12:00:42 +02:00
iceman1001
f852bf41c3
adapt to optional python, Thanks @doegox!
2020-05-26 11:49:26 +02:00
iceman1001
06927f983a
added python3 as script engine, if installed on system
2020-05-26 11:30:17 +02:00
Bjoern Kerler
81bc0bc2b9
Reorder client src directories
2020-04-16 10:53:24 +02:00