Summary: | In a bash script, the command : " konsole "$0" args " fails in one case | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Jonas <Jonas.Baggett> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jonas
2008-11-07 18:28:34 UTC
This is because konsole starts by default on $HOME directory, and you are trying to run that script as if you maintain the working directory. Konsole (as other terminals do) may not change the working directory, but you can skip this problem making the call in this way: konsole --workdir "$PWD"-e "$0" a Coment #1 works fine in KDE 4.2.x |