about summary refs log tree commit diff stats
path: root/ranger/core/runner.py
Commit message (Collapse)AuthorAgeFilesLines
* runner: Initialize variables outside of try-excepttoonn2022-05-261-2/+4
|
* Revert "runner: Drop disappeared Pylint options"toonn2022-02-051-0/+2
| | | | This reverts commit 05af3b99d87ade639cfb8dd33acda9c76d5e93e5.
* runner: Drop disappeared Pylint optionstoonn2022-02-051-2/+0
|
* runner: Force UTF-8 encodingtoonn2021-09-011-2/+2
|
* runner: Switch to io.opentoonn2021-09-011-3/+4
|
* runner: Switch to open23toonn2021-08-271-2/+3
|
* core.runner: Disable lints because of peculiar uses of opentoonn2021-07-201-0/+3
|
* Fix long lines for pylinttoonn2019-10-111-1/+3
|
* expand X condition onlySamuel Walladge2019-07-241-1/+1
|
* support wayland condition for rifleSamuel Walladge2019-07-231-1/+1
| | | | - also support wayland for flag t (opening in new terminal)
* Fix the issues reported by the coverage test (#1206)Wojciech Siewierski2018-06-171-1/+1
| | | | | | Regarding the change in ranger/core/runner.py: setting the 'f' flag causes the 'r' flag to run sudo -b which forks on it own so it should be safe to not explicitly fork in this case.
* core.runner: show stderr when using 'p' flag (#884)hut2017-06-221-2/+2
|
* linting: pylint: Enable `broad-except`, Improve loggingnfnty2017-01-211-4/+10
| | | | | | | Handle exceptions explicitly to prevent unexpected errors from causing problems. Improve exception and notification logging.
* Python 3 division: Import `division` from `__future__`nfnty2017-01-211-1/+1
|
* linting: `ranger.core.runner.Context`: Init all attributesnfnty2017-01-171-5/+13
|
* linting: Python 2 compat: Import from `__future__`nfnty2017-01-171-0/+2
|
* linting: pylint and flake8nfnty2017-01-171-11/+16
|
* linting: autopep8nfnty2017-01-171-7/+8
|
* Refactor and improve the TERMCMD handlingWojciech Siewierski2016-06-301-6/+2
| | | | | | | | | | | | | | | | Now only the first token of TERMCMD needs to exist in PATH. Previously the whole value was checked, which could contain additional parameters. The check and term guessing were performed in two places. Now it's done by the get_term() function to reduce the code duplication. In that function the second check was indented one level deeper (relative to the original code). Keeping both checks on the same level, while visually pleasing, was conveying the wrong message. One never wants to perform the second check if the first one fails. Nesting shouldn't be a problem: if the nesting will need to be any deeper than this, this code will need to be refactored anyway. Fixes #613.
* Use 'except Exception:' instead of 'except:'stepshal2016-06-221-3/+3
|
* Put colon-separated compound statement on separate lines.stepshal2016-06-211-4/+8
|
* Merge branch 'comment' of https://github.com/stepshal/rangerhut2016-06-211-1/+1
|\
| * Make at least two spaces before inline commentstepshal2016-06-191-1/+1
| |
* | test for membership should be 'not in'stepshal2016-06-191-1/+1
|/
* really fix #300 and #341iamevn2015-09-081-1/+1
| | | | os.environ['SHELL'] returns '/usr/bin/fish' which != 'fish' this should fix fish compatibility.
* core.runner: fix `:shell $SHELL` not working with fishhut2015-04-161-2/+5
| | | | This fixes #300 and was caused by #187 (25dcff6)
* Neater copyright headerhut2015-03-191-2/+2
|
* update email addresshut2014-12-111-1/+1
|
* Fixed runner to use system SHELL env in ':shell' commandAmerlyq2014-11-221-0/+4
|
* Changed email address in source codehut2013-08-081-1/+1
| | | | | Since lavabit.com ceased providing email services, I had to change my address from hut lavabit com to hut lepus uberspace de.
* core.runner: dont switch to console when using "s" flaghut2013-03-041-0/+1
|
* Fix docstrings to comply with the PEP8hut2013-02-221-6/+3
| | | | http://www.python.org/dev/peps/pep-0008/#documentation-strings
* updated copyright noticeshut2013-02-221-1/+1
|
* update email address (romanz@lavabit.com -> hut@lavabit.com)hut2013-02-221-1/+1
|
* replaced tabs with 4 spaces in all python fileshut2013-02-101-193/+193
| | | | | | | | | PEP 8 (Style Guide for Python Code) suggests the use of 4 spaces: http://www.python.org/dev/peps/pep-0008/#indentation If you need to use tools like "git blame", you can use the -w option to ignore this commit entirely. Patches will continue to work if you substitute tabs with 4 spaces everywhere except in the Makefile.
* Revert "core.runner: removed 's', 'p', 'w' flags to behave like rifle"hut2012-08-151-1/+19
| | | | | | This reverts commit d6c78470ba0e3a9923d5cc13a5babaca4d52aecf. It makes ... little sense atm to remove this.
* core.runner: Added TODO: "make 'r' flag work with pipes"hut2012-08-151-0/+1
|
* core.runner: removed 's', 'p', 'w' flags to behave like riflehut2012-08-151-19/+1
| | | | | | | | instead of 's', you can append &>/dev/null instead of 'p', you can append |less instead of 'w', you can append ;read If there is demand, I'll add the flags back in.
* core.runner: fixed missing importhut2012-08-151-0/+1
|
* core.runner: remove 'setsid' dependency, use Popen_forkedhut2012-08-151-5/+8
|
* core.runner: renamed flag "d" to "f" in the runner toohut2012-08-151-6/+6
|
* Merge branch 'stable'hut2012-08-101-0/+2
|\ | | | | | | | | | | Conflicts: doc/ranger.1 ranger/defaults/apps.py
| * core.runner: use setsid to stabilize detached programshut2012-08-091-0/+2
| | | | | | | | | | | | This fixes the bug that some programs are killed even if they were run with the "d" flag, if ranger is killed by closing its terminal with the window manager instead of closed with :quit.
* | core.runner: updated ALLOWED_FLAGS, added commenthut2012-03-191-1/+3
| |
* | removed code of old file-opener systemhut2012-03-161-12/+1
| |
* | shorten all copyright messages for better readabilityhut2012-03-141-13/+1
|/
* Added doc for TERMCMD and integrated it in commands.pyhut2012-01-181-1/+3
|
* core/runner.py: removed the 'a' flag from ALLOWED_FLAGSM Rawash2011-12-191-3/+3
|
* core/runner.py: allow combination of 'r' and 'd' flagsM Rawash2011-12-191-2/+3
|
* core/runner.py: got rid of the 'a' flagM Rawash2011-12-071-9/+2
|