Bug 303800 - Use the "Environment" in the Launch Configurations Arguments
Summary: Use the "Environment" in the Launch Configurations Arguments
Status: REPORTED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: run support (show other bugs)
Version: git master
Platform: unspecified Linux
: LO wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-19 15:08 UTC by David
Modified: 2014-01-25 01:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2012-07-19 15:08:33 UTC
I tried to use the "Environment" in the Launch Configurations. I created a new environment, and added a variable DATA_DIR and set it to /home/.../mydata. Then in Arguments, I added $DATA_DIR/myfile.png to pass a file to my program. However, I get "A shell meta character was included inthe arguments" . I'm assuming that is the $? I was told on IRC that this is not the intended use of these environment variables. It would be really nice to be able to use these environment variables in the arguments list, because my argument lists usually look like /media/portable/Projects/PatchBasedInpaintingDevelop/Data/image.png /media/portable/Projects/PatchBasedInpaintingDevelop/Data/mask.png .... and it is really hard to keep track of.

Reproducible: Always

Steps to Reproduce:
This is a feature request.
Actual Results:  
This is a feature request.

Expected Results:  
This is a feature request.
Comment 1 Niko Sams 2012-08-25 09:34:01 UTC
Makes sense. Would you consider writing a patch that adds this functionality?

(I'm assuming you can do that as you use gdb)
Comment 2 David 2012-08-26 22:57:47 UTC
Sorry, I won't be able to take this on :(.