diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/spawn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/spawn.c b/src/spawn.c index b17ee58..0492bbf 100644 --- a/src/spawn.c +++ b/src/spawn.c @@ -304,6 +304,8 @@ teco_state_execute_done(teco_machine_main_t *ctx, teco_string_t str, GError **er * contain '/', ie. must be resolved against $PATH. * See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295991 * As a workaround, only pass down absolute paths. + * This is not perfect: It will use $PATH from the environment, + * so you cannot overwrite it from within SciTECO. */ gchar *program = g_find_program_in_path(argv[0]); if (!program) { |
