# Empty lines missing from captured console output

**URL:** https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142
**Category:** Bugs
**Created:** [August 24, 2009, 4:14am UTC](https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142 "2009-08-24T04:14:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![simon\_page](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/8baadc/32.png) [@simon\_page](https://www.finalbuilder.com/forums/u/simon_page)
#### Post date: [August 24, 2009, 4:14am UTC](https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142/1 "2009-08-24T04:14:03Z")

</div>

I have an action that calls a command line utility and logs the output to a variable which a subsequent script action then extracts several pieces of information from.   
  
 After upgrading from v5 to v6 (6.3.0.1666) the script action is failing because the output has had the empty lines removed, and in my case one of these is the indicator that some multi-line content is complete.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [August 25, 2009, 1:25am UTC](https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142/2 "2009-08-25T01:25:35Z")

</div>

Thanks Simon, looks like we introduced this bug when we’ll trying to isolate a separate issue, will get a build out soon which bring backs the correct behaviour.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [August 26, 2009, 12:41pm UTC](https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142/3 "2009-08-26T12:41:06Z")

</div>

Hi Simon,   
  
 Here’s the new test build of FinalBuilder which should no longer remove blank lines.   
  
 URL: [https://www.finalbuilder.com/downloads/finalbuilder/630/FB630\_1673.exe](https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1673.exe)  
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![simon\_page](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/8baadc/32.png) [@simon\_page](https://www.finalbuilder.com/forums/u/simon_page)
#### Post date: [August 26, 2009, 1:00am UTC](https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142/4 "2009-08-26T01:00:16Z")

</div>

Hi Paul,   
  
 I am still getting the same issue with 6.3.0.1673   
  
 Although I am capturing output from a number of actions, this is easy to reproduce with a simple DOS command line action with “dir c:” as the command. This produces output with the blank lines before and after “Directory of c:” removed, unlike v5 and earlier.   
  
 Regards,   
  
 Simon

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [August 27, 2009, 6:24am UTC](https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142/5 "2009-08-27T06:24:22Z")

</div>

Hi Simon   
  
 I found the change which caused the problem, and have reversed it. Unfortunately the check in comment was less than informative (my fault, I made the change!) so I’m not sure what the reasoning behind the change was. Hopefully this doesn’t cause a regression issue elsewhere.   
  
[https://www.finalbuilder.com/downloads/finalbuilder/630/FB630\_1676.exe](https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1676.exe)

---

<div class="post-metadata">

### Author: ![simon\_page](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/8baadc/32.png) [@simon\_page](https://www.finalbuilder.com/forums/u/simon_page)
#### Post date: [August 28, 2009, 11:43am UTC](https://www.finalbuilder.com/forums/t/empty-lines-missing-from-captured-console-output/3142/6 "2009-08-28T11:43:41Z")

</div>

Hi Vincent,

Thanks - that fixes the issue and I haven't found any regression issues in my projects at least.

Regards,

Simon
