The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

+2 votes

Hi. I'm trying to create a GUI for rclone, a command-line program to sync files and directories to and from different cloud storage providers.
The problem I'm facing is: when I try to setup a new configuration for a drive, I use the execute() method and I pass the rclone.exe with the necessary arguments. Being an interactive configuration, rclone.exe asks me to input a certain value to continue with the setup. How can I intercept this behavior (the series of prompts to complete the configuration) and interact with rclone.exe within the GUI?
Inside the output argument in execute() I receive only the strings of the text displayed in the terminal.
Thanks in advance (from the category dropdown I can set only "Engine". It doesn't fits but I can't submit the question otherwise).

Godot version 3.5.1
in Engine by (14 points)

You need a way to send standard input to the external program. It's possible that this isn't supported by gdscript, but hopefully that term helps your searching.

Thanks for your answers. The far I can get is this module for Godot. I'm not an advanced user so I don't know how to continue from there, but I'm happy to know there are possibilities!

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.