# 1.6.0.186 Space in FinalBuilder action variable value results in invalid Fiinal Builder 8 command line arguments

**URL:** https://www.finalbuilder.com/forums/t/1-6-0-186-space-in-finalbuilder-action-variable-value-results-in-invalid-fiinal-builder-8-command-line-arguments/5972
**Category:** Bugs
**Created:** [May 21, 2015, 5:29am UTC](https://www.finalbuilder.com/forums/t/1-6-0-186-space-in-finalbuilder-action-variable-value-results-in-invalid-fiinal-builder-8-command-line-arguments/5972 "2015-05-21T05:29:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![skermajo](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@skermajo](https://www.finalbuilder.com/forums/u/skermajo)
#### Post date: [May 21, 2015, 5:29am UTC](https://www.finalbuilder.com/forums/t/1-6-0-186-space-in-finalbuilder-action-variable-value-results-in-invalid-fiinal-builder-8-command-line-arguments/5972/1 "2015-05-21T05:29:20Z")

</div>

Hi  
  
We have a Final Builder action in Continua targeting Final Builder 8 with the following variables defined:  
  
CompilerOutputPath=$Workspace$\Output  
BuildConfig=%Config% PBudget  
IconFile=$Source.Phoenix$\power\_budgets.ico  
LibraryPath=$Workspace$\compiler\lib%Platform%%Config%  
SearchPath=$Workspace$\lib;$Workspace$\res  
ProjectFIle=$Source.Phoenix$\Budget.dpr  
DCC=$Workspace$\compiler  
BuildPath=$Workspace$  
  
This results in the following arguments being sent to FBCMD by Continua:  
  
&nbsp;Working Directory: C:\CI\_WS\Ws\126880\Source\Phoenix   
Executable: C:\Program Files (x86)\FinalBuilder 8\FBCMD.exe  
Arguments: -nb -v:“CompilerOutputPath=“C:\CI\_WS\Ws\126880\Output”;BuildConfig=“Release\ PBudget”;IconFile=“C:\CI\_WS\Ws\126880\Source\Phoenix\power\_budgets.ico”;LibraryPath=“C:\CI\_WS\Ws\126880\compiler\lib\Win32\Release”;SearchPath=“C:\CI\_WS\Ws\126880\lib@@SEMICOLON@@C:\CI\_WS\Ws\126880\res”;ProjectFIle=“C:\CI\_WS\Ws\126880\Source\Phoenix\Budget.dpr”;DCC=“C:\CI\_WS\Ws\126880\compiler”;BuildPath=“C:\CI\_WS\Ws\126880”;” C:\CI\_WS\Ws\126880\Source\Phoenix\Phoenix\_BinBuild.fbp8 -!:C:\CI\_WS\Ws\126880\ContinuaContext.xml  
…  
Exit with return code: 2 (INVALIDARGS)  
  
There seems to be an extra quotation mark being added at the end of the -v arguments (just after the BuildPath= value). If I change BuildConfig variable in the Continua action to read as the following (by removing the “PBudget”), then the arguments go through fine, and the action is successful:  
  
BuildConfig=%Config%  
  
Resulting arguments:  
  
Working Directory: C:\CI\_WS\Ws\126881\Source\Phoenix   
Executable: C:\Program Files (x86)\FinalBuilder 8\FBCMD.exe  
Arguments: -nb -v:CompilerOutputPath=“C:\CI\_WS\Ws\126881\Output”;BuildConfig=“Release”;IconFile=“C:\CI\_WS\Ws\126881\Source\Phoenix\power\_budgets.ico”;LibraryPath=“C:\CI\_WS\Ws\126881\compiler\lib\Win32\Release”;SearchPath=“C:\CI\_WS\Ws\126881\lib@@SEMICOLON@@C:\CI\_WS\Ws\126881\res”;ProjectFIle=“C:\CI\_WS\Ws\126881\Source\Phoenix\Budget.dpr”;DCC=“C:\CI\_WS\Ws\126881\compiler”;BuildPath=“C:\CI\_WS\Ws\126881”; C:\CI\_WS\Ws\126881\Source\Phoenix\Phoenix\_BinBuild.fbp8 -!:C:\CI\_WS\Ws\126881\ContinuaContext.xml  
  
  
I’ve tried surrounding “%Config% PBudget” with quotation marks, and I’ve tried escaping the whitespace but neither worked. The only solution seems to be to remove the whitespace from the BuildConfig variable value.  
  
  
If you need any further info, I’m happy to help!   
  
Thanks,  
  
Joel

 ![__34802__ 0__AGDATA_2015-05-21 13_16_49-Log - Continua.png](https://www.finalbuilder.com/forums/uploads/default/original/2X/1/1b35eebfccb27c967a4d22e0f5696ee9f51a28c0.png)

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [May 21, 2015, 6:07am UTC](https://www.finalbuilder.com/forums/t/1-6-0-186-space-in-finalbuilder-action-variable-value-results-in-invalid-fiinal-builder-8-command-line-arguments/5972/2 "2015-05-21T06:07:08Z")

</div>

Hi Joel,  
  
Thanks for reporting this. We’ve implemented a fix and will release this in a new version today.

---

<div class="post-metadata">

### Author: ![skermajo](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@skermajo](https://www.finalbuilder.com/forums/u/skermajo)
#### Post date: [May 26, 2015, 4:35am UTC](https://www.finalbuilder.com/forums/t/1-6-0-186-space-in-finalbuilder-action-variable-value-results-in-invalid-fiinal-builder-8-command-line-arguments/5972/3 "2015-05-26T04:35:36Z")

</div>

Thanks Dave! Confirmed as fixed in 221.
