Author Topic: command line -logtostdout  (Read 1272 times)

IvanS

  • Newbie
  • *
  • Posts: 11
command line -logtostdout
« on: August 27, 2023, 05:02:05 AM »
Am I doing something wrong ?  I would like to start VoiceAttack from within my app, so output can be grabbed from stdout.

I started up VoiceAttack (-logtostdout) from the command line in a command window. VA starts up and reacts, because I can send commands, turn on/off dark mode etc.  However, nothing appears in the command window, where I would expect stdout to go.


IvanS

  • Newbie
  • *
  • Posts: 11
Re: command line -logtostdout
« Reply #1 on: August 27, 2023, 05:48:49 AM »
adding to this: with "quick input" text does get 'typed' into the command window.   

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2827
Re: command line -logtostdout
« Reply #2 on: August 27, 2023, 12:43:02 PM »
Not sure what the magic incantation is to get Cmd to display a desktop app's stdout, but redirecting from VA's stdout to a text file works:

"C:\Program Files\VoiceAttack.exe" -logtostdout  > c:\temp\myText.txt


Hope that helps!