# Execute program &gt; "Log output"

**URL:** https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265
**Category:** Discussion
**Created:** [November 22, 2006, 5:17am UTC](https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265 "2006-11-22T05:17:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [November 22, 2006, 5:17am UTC](https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265/1 "2006-11-22T05:17:28Z")

</div>

Just had a case here where the “Log output” option had an effect on whether or not the program succeeded. Not sure if this is a known effect, but for this old DOS program, it bombed out with a “Unable to allocate console” message if “Log output” was enabled (default), but ran perfectly if it was switched off.  
  
Maybe this should be documented, or work its way into a KB or something…  
  
Steve

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [November 22, 2006, 5:41am UTC](https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265/2 "2006-11-22T05:41:54Z")

</div>

hmm, that’s interesting! which DOS program was it?

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [November 22, 2006, 6:18am UTC](https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265/3 "2006-11-22T06:18:44Z")

</div>

It’s called pfltd.exe, I don’t actually really know what it does, I think it’s some kind of compiler. For some kind of historical reason it doesn’t use stdout/stdio, but accesses the console some more esoteric way. I can send you the .exe if you want to do tests on it.  
  
Steve

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [November 22, 2006, 6:39am UTC](https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265/4 "2006-11-22T06:39:47Z")

</div>

no, don’t send it, but thanks for the offer… the code to redirect stdout and stderr is complicated enough just trying to work with modern programs - some don’t behave the way they should!

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [November 22, 2006, 7:04am UTC](https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265/5 "2006-11-22T07:04:00Z")

</div>

Fwiw, found another one that does it: an old MS “link” program:  
  
Microsoft ® Segmented-Executable Linker Version 5.10  
Copyright © Microsoft Corp 1984-1990. All rights reserved.  
  
Same behaviour.  
Steve

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [November 22, 2006, 7:09am UTC](https://www.finalbuilder.com/forums/t/execute-program-gt-log-output/265/6 "2006-11-22T07:09:08Z")

</div>

_shudder_
