I don´t want to manually tell mprime/prime95 to start the calculation. ATM I have to start the software (console) then press 4 as soon as the menu appears to start/restart the calculation.
So far I tried using pipes:
Code: Select all
echo 4 | ./mprime -d -mCode: Select all
xdotool key 4 | ./mprime -d -mCode: Select all
xdotool key 4 enter | ./mprime -d -mAlso starting mprime then using && operator and simulating a keystroke wont work, since one had to exit mprime in order to start the second command.
Any ideas ?



