Hey
I'm trying to do an automate account creation with Bun and the rclone binary.
When I run the rclone command I get this
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
After answering n then now the next option is to enter the name
Enter name for new remote.
name>
Is there a way to spawn the process in Bun and keep sending input while analyzing the binary (rclone in my case) responses?
Something like this
proc.stdin!.write("n"); // first answer
proc.stdin!.write("GoogleDrive"); // second
Thanks