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

mrothman

  • Senior Community Member
  • Posts: 122
  • 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: 177
  • 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