1

this is a command line program which I can use via terminal using the following commands

yowsup-cli demos --yowsup --config config.txt

after running this command I always got this info:

yowsup-cli v2.0.15 yowsup v2.5.0

Copyright (c) 2012-2016 Tarek Galal http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is encouraged.

If you appreciate this software and you would like to support future development please consider donating: http://openwhatsapp.org/yowsup/donate

Yowsup Cli client ================== Type /help for available commands

[offline]:

And the indicator prompts me to insert "/L" to continue .

My question is how to send the command to terminal and get the response and then send another command based on the response "/L in this case" using python code so I can interact with terminal via python exactly as I can do with terminal emulator my self

4
  • 1
    Possible duplicate of Interact with standard input/output of another process Commented May 29, 2016 at 19:30
  • I found this answer, which looks very similar to your problem: stackoverflow.com/questions/9673730/… Commented May 29, 2016 at 19:31
  • @gre_gor thank you for your answer but it doesn't work with my problem Commented May 30, 2016 at 15:57
  • @chleboir thank you for your answer but it doesn't work with my problem also Commented May 30, 2016 at 16:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.