Fabio Erculiani
577fcf32c6
[solo.main] use _exit() rather than SystemExit() exception.
...
The former is reentrant and safe to be used in signal handlers.
2013-09-05 19:21:51 +02:00
Fabio Erculiani
d6295b3e00
[entropy*] create const_mkstemp() as tempfile.mkstemp() wrapper.
...
using /tmp as TMPDIR is a no go, since on modern systems, /tmp is on
tmpfs with a very limited amount of fs size assigned. Use /var/tmp/entropy
(or /var/tmp as fallback) instead.
2013-03-29 12:09:17 +00:00
Fabio Erculiani
bb052e992f
[equo] when running with args: "equo --bashcomp", do not call args.pop(0) if args is empty
2012-12-26 19:32:36 +01:00
Fabio Erculiani
ea7a559f45
[equo] convert all the sys.argv elements to unicode in main()
...
This avoids potential issues with entropy.db and other entropy.client
components.
2012-12-01 19:15:55 +01:00
Fabio Erculiani
3d04b69b7d
[equo] trivial: remove unused import
2012-11-25 19:03:41 +01:00
Fabio Erculiani
29b8f266cc
[equo] fix tty colored output handling, re-add --color
2012-11-15 21:05:52 +01:00
Fabio Erculiani
d2252e3873
[Solo] drop etpUi usage from solo.main
2012-11-04 21:23:38 +01:00
Fabio Erculiani
12221f6e2e
[Solo] try parsing arguments even when superuser access is required
...
This makes possible to print possible parser error messages without
requiring superuser credentials.
2012-09-30 09:40:17 +02:00
Fabio Erculiani
65f993fa71
[Solo] warn user about Entropy Library and Solo version mismatch
2012-09-12 19:37:10 +02:00
Fabio Erculiani
25e7edcab0
[Solo] add "Running on Live System" warning
2012-09-12 19:36:51 +02:00
Fabio Erculiani
376a44ac19
[Solo] allow commands pass-through if "--help" is in argv
2012-09-12 19:01:13 +02:00
Fabio Erculiani
732fd4f7bf
[Solo] fix ALLOW_UNPRIVILEGED handling
2012-08-31 22:16:37 +02:00
Fabio Erculiani
c7972c8519
[Solo] fixup code imports, add helper functions, migrate more code over
2012-08-21 21:03:46 +02:00
Fabio Erculiani
1582de0fff
[Solo] First commit, equo rewrite has just begun
...
"Solo" is just a codename, to avoid name clashing while the code
is ported over.
2012-08-19 11:02:32 +02:00