| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
we used subprocess.call, which in an error case just returns the
int-return value and does not raise OSError if shell==True.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
that gets a command as list of str together with spawn, thread and shell flags
and returns a triple of cmdlist shell and thread flags to be used.
This allows for crazy stuff like spawning into gnu screen tabs etc. cf issue #466.
|
| |
| |
| |
| |
| | |
This makes the command use its spawn and thread parameters
and fall back to the values given in the config
|
| |
| |
| |
| |
| |
| | |
apparently the __call__ method got lost on the way.
Moreover the choices list must match the target type,
so is useless here
|
|/
|
|
| |
helper.py usrs utf8 chars and sphinx autodoc complained
|
| |
|
| |
|
|
|
|
|
| |
bin/alot directly imports init.main,
init.py is not intended to be called directly from the shell.
|
|
|
|
| |
cf issue #472
|
|\ |
|
| |
| |
| |
| |
| | |
.. command parameters. BooleanAction type
argparse parameters allow y/n, true/false etc.. don't list all possibilities in the docs
|
| | |
|
| | |
|
| |
| |
| |
| | |
this makes the ArgparseCompleter use BooleanActions choices
|
| | |
|
| |
| |
| |
| |
| | |
This action allows to set a boolean flag
via --foo=BAR, where BAR is y/n,true/false etc.
|
| |
| |
| |
| |
| |
| |
| | |
.. for commands that end in ExternalCommand.
ExternalCommand's spawn parameter is actually interpreted as
"force-spawn-bit" at the moment.
cf issue #460
|
| |
| |
| |
| |
| |
| | |
If ExternalCommand gets a 'shell' parameter set to True, it passes this on to subprocess.Popen.
This makes Popen only use the first entry in the commandlist. This patch ensures that
the 'shellescape's commandstring argument ends up in this first entry.
|
| |
| |
| |
| |
| | |
this makes ExternalCommand also accept command strings as well as lists in order to make the
shellescape command work properly
|
| |
| |
| |
| |
| |
| |
| |
| | |
that splits a command string into a list of strings to pass on to subprocess.Popen and the like.
This helper is now used throughout the application instead of calling shlex.split directly as this
is a potential source for errors because shlex is not yet able to properly deal with unicode
bytestrings.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
instead of command strings. subprocess.Popen
takes a string list that determines the subcommand to call.
This makes ExternalCommand directly accept string lists to pass on to Popen.
This change obsoletes the 'path' parameter, as callers can now simply
construct the command list accordingly.
OpenAttachmentCommand and EditCommand are updated to match this API change.
|
| |
| |
| |
| |
| |
| |
| | |
this introduces the 'shell' parameter, that gets passed on to subprocess.Popen and results in the
commandstring being interpreted by the shell.
This commits also makes shellescape force-set this parameter to true
|
| |
| |
| |
| |
| | |
file-like object or string that will be piped into external processes
stdin if not None
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in case the mailcap-specified command string does not contain '%s'
to indicate the path to the tempfile containing the data,
the command should expect the input via sdtin.
This makes the necessary change to commands.thread.OpenAttachmentCommand.
Note that this relies on a not yet implemented parameter 'stdin' of ExternalCommand!
cf issue #458
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
use address as fallback in reply/forward_prefix
|
|/ / |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
this makes Message objects decode the value
of the From-header before storing it as msg._from. This ensures that superflous double-quotes around
realnames do not prevent interpretation of escape sequences.
cf. issue #428
|
|/
|
|
|
| |
this makes db.utils.decode_header remove superflous double quotes around header values before
decoding them
|
|\ |
|
|/
|
|
|
|
|
|
| |
.. when guessing mimetypes. It turns out that it does
not always return proper 'type/subtype' strings.
This makes helper.guess_mime_type default to 'application/octett'
in those cases.
cf. issue #459
|
|
|
|
| |
this fixes a few broken links and duplicate module defs in the sphinx docs
|
|
|
|
| |
for api doc generation on rtfd.org
|
|\ |
|
|/
|
|
|
|
| |
.. which triggers an assertion exception when using this
as initial bodystring in an envelope.
issue #451
|
|\ |
|
| |
| |
| |
| | |
the default has been changed to 'sendmail -t' in f494f25
|