summaryrefslogtreecommitdiff
path: root/src/shell_manager.cc
AgeCommit message (Collapse)Author
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.