User forums > Using Code::Blocks
run with sudo from code::blocks
(1/1)
fbt:
Hi!, i would like to run a compiled program from code::blocks (ubuntu) but adding "sudo LD_LIBRARY_PATH=..." before the executable. it is possible avoiding to do it from a terminal, or invoking code::block with sudo command?. any help will be appreciated. thanks
MortenMacFly:
--- Quote from: fbt on January 29, 2016, 02:37:22 pm ---Hi!, i would like to run a compiled program from code::blocks (ubuntu) but adding "sudo LD_LIBRARY_PATH=..." before the executable. it is possible avoiding to do it from a terminal, or invoking code::block with sudo command?. any help will be appreciated. thanks
--- End quote ---
You could do a "command only" target and use macros to achieve that.
fbt:
Hi, thanks for your answer ... since i'm not at expert at all, could you please give any link or additional info in order to fulfull your proposal? thanks
Navigation
[0] Message Index
Go to full version