summaryrefslogtreecommitdiff
path: root/src/shell_manager.cc
AgeCommit message (Collapse)Author
2013-07-28Minor code cleanupsMaxime Coste
2013-07-26memoryview: always pass by valueMaxime Coste
2013-05-13Use more std::* for string handlingMaxime Coste
2013-04-17ShellManager: env_var_regex is an implementation detailMaxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2013-03-29String: inherit from std::string rather than using it as a backendMaxime Coste
2013-03-05Strongly typed options supportMaxime Coste
* non builtins options require declaration using the decl command * At the moment, only int and string options are supported, however the goal of this change is to provide a consistent way to support more complex options, namely lists and booleans
2013-02-27ShellManager: remove unneeded end of lines when writing stderrMaxime Coste
2013-02-19ShellManager: catch exception thrown by env var functorsMaxime Coste
2012-12-13the shell used for command execution can be changed using the 'shell' optionMaxime Coste
2012-09-09Add support for shell script parametersMaxime Coste
Now %sh{ ... } can access positional parameters through standard shell construct, allowing simple handling of variable parameters. def command accepts -shell-params flag to use this facility.
2012-09-06ShellManager: output stderr in the debug bufferMaxime Coste
2012-08-29fix ShellManager, avoid zombie childs when grand childs detaches themselvesMaxime Coste
2012-08-10ShellManager: fix option regex, allow capsMaxime Coste
2012-07-31ShellManager: catch all exception once we are in child processMaxime Coste
2012-06-25ShellManager environment variable use a regex instead of an exact matchMaxime Coste
when a kakoune releated env var used in a shell command, the ShellManager tries to match it with given regex and the first that matches calls its value retriever. For this to be useful, EnvVarRetrievers now also take the variable name in its parameters.
2012-05-29Restore piping support.Maxime Coste
Add a ShellManager::pipe method, which pipes a string into the command. Not quite satisfied with this interface.
2012-05-29ShellManager::eval now takes an additional env_var mapMaxime Coste
2012-05-03Add a ShellManager which handles executing shell commandsMaxime Coste
ShellManager provides shell commands with environement variable to retrieve some internal values in the shell parameters.