Author Topic: Capturing standard output into my Slick-C program  (Read 1217 times)

mrothman

  • Senior Community Member
  • Posts: 117
  • Hero Points: 1
Capturing standard output into my Slick-C program
« on: July 17, 2015, 03:39:12 pm »
I wonder if anyone can suggest a best practice for running a third party program and capturing the standard output.  I could of course use the concur_command and then read the output from the .process buffer.  But I wonder if there's something a bit more straightforward where I can just pass a string variable in to be filled with the output of a third party exe? Thanks.

flethuseo

  • Senior Community Member
  • Posts: 175
  • Hero Points: 2
Re: Capturing standard output into my Slick-C program
« Reply #1 on: December 25, 2015, 06:10:58 am »
I use filter_command a lot to take some input from a selection in slickedit and then it prints the output right on that selection as well. I don't know if not selecting something and just executing the command would output to your slickedit buffer. Let me know if you want an example macro of the command.

Ted