Summary: | Change path at execution | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | BRULE Herman <alpha_one_x86> |
Component: | klauncher | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | cfeck |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
BRULE Herman
2010-09-05 11:15:43 UTC
Do you use the KDE "Save/Save As..." file dialog to "create" the file? no (because it can by controled by KDE), example: QFile logFile("toto.log"); logFile.open(QIODevice::ReadWrite|QIODevice::Truncate|QIODevice::Unbuffered); logFile.close(); To do the application: test (xrw------) When I double click into konqueror on "test" or I open file X.Y with my application "test", it will create the toto.log into /home/user. When I open konsole by F4 and I put ./test, it will create the toto.log into the current directory (then ./toto.log) (I search that's but when I doucle click on the application) Thanks for the update. It looks like the application process launcher does not copy the working directory of the parent process, but I am not sure if this is done on purpose. Reassigning. |