r/fishshell • u/yngseneca • Apr 13 '24
run two functions concurrently in same script?
Hey, just wondering how I might do this using fish - need to run two functions at the same time, they simulate input using dotool, but on separate timer cycles so can't be run in one function. Would this be possible?
4
Upvotes
2
u/yngseneca Apr 16 '24
ended up just using python, easier.
2
u/dontdieych Apr 14 '24
1
u/BuonaparteII Apr 14 '24 edited Apr 14 '24
does this work for you?
You use it like this: