AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

How to capture standard output from a system command and use as bot’s reply
 
 

I’ve got some DOS utilities that I can call from ChatScript, and I see their text reply. But the ChatScript bot replies 0 for the return status. Is there a way to incorporate that ^system command’s response as the bot’s output? I could route it to a file and use import? Any tips appreciated.

Thanks,

Robby.

 

 
  [ # 1 ]

dont use ^system, use ^popen

 

 
  [ # 2 ]

Thanks Bruce! That works great.

 

 
  login or register to react