User forums > Using Code::Blocks
Unable to use %RANDOM% in Project->Set programs' arguments
stahta01:
--- Quote from: Morwenn on June 04, 2017, 03:57:22 pm ---
--- Code: ---testsuite.exe --rng-seed %RANDOM%
--- End code ---
--- End quote ---
I sometimes have to add CMD /C prefix for some things; I suggect trying it like.
--- Code: ---CMD /C testsuite.exe --rng-seed %RANDOM%
--- End code ---
Morwenn:
--- Quote from: stahta01 on June 04, 2017, 04:53:28 pm ---I sometimes have to add CMD /C prefix for some things; I suggect trying it like.
--- Code: ---CMD /C testsuite.exe --rng-seed %RANDOM%
--- End code ---
--- End quote ---
The command line I've shared in my first post works perfectly fine. The problem is when I give the parameters through Code::Blocks "Projects->Set programs' arguments", whose interfacce does not provide a full access to the command-line, so I can't add things prior to the executable name with this interface.
oBFusCATed:
Then I guess you'll need to open a ticket on the sf.net project page, so this problem is not forgotten.
But I'm surprised that it doesn't work. I think we added variable expansion there.
Morwenn:
Ok, I'll open a ticket on Sourceforge then.
Navigation
[0] Message Index
[*] Previous page
Go to full version