Timeline for Send command to already running process in shell script
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 27, 2018 at 1:22 | answer | added | Mr-Ace | timeline score: -2 | |
| Jan 27, 2017 at 13:28 | history | edited | Kusalananda♦ | CC BY-SA 3.0 |
Title is now more descriptive
|
| Jan 27, 2017 at 12:05 | comment | added | Herman | If you need just write or read: mathieupassenaud.fr/…. This helped me. | |
| May 25, 2016 at 8:22 | history | edited | cas |
edited tags
|
|
| May 25, 2016 at 8:22 | comment | added | cas |
i've added the /expect tag to your question. click on it to search for other questions with that tag.
|
|
| May 25, 2016 at 6:50 | comment | added | magor |
Not sure what commands do you want to execute, but it seems like you can use gatttool in non-interactive mode as well, that would be simpler than writing an expect script. Check here for example : humbug.in/2014/…
|
|
| May 25, 2016 at 6:45 | comment | added | magor |
nope....in that case try using expect
|
|
| May 25, 2016 at 6:45 | comment | added | sazr |
@mazs I need to send about 10 commands to gatttool. Would that still work? Could I send one long string with many different commands?
|
|
| May 25, 2016 at 6:43 | comment | added | magor |
you can try echo "connect" | gatttool -b $MAC -I
|
|
| May 25, 2016 at 6:38 | history | asked | sazr | CC BY-SA 3.0 |