I have a shell command that I am running in a RealBasic App, and until now I've just been reading the output, but it requires user input. Is there something I could use to embed something like a terminal or a console application that could run a command, show the output, and take the input, maybe in a widget looking like a text area, like many IDEs and code editors have?
Embedding simple terminal/console in RealBasic
1.3k Views Asked by None At
2
There are 2 best solutions below
0

Could you separate the output and input, or would this not make sense for your use case?
If you could, then you could simply use a TextArea to display the console app's output, just keep appending to the TextArea's text. Then use a TextField for single line input underneath the TextArea, or whatever else makes sense for entering the params you need to send to the console app.
Then you can use a button (or catch [RETURN] key up in TextField) to grab the input and pass on to the console app.
Related Questions in CONSOLE
- Understanding InnoDB Repeatable Read isolation level snapshots
- Dump with SERIALIZABLE more consistent than `--single-transaction` (REPEATABLE READ) in MySQL
- update then select value which updated by other transaction but get the value before update
- Understanding InnoDB X-Lock with REPEATABLE_READ and READ_COMMITED isolation level
- InnoDb - SELECT while a Repeatable Read Transaction is Executing
- MySQL Repeatable Read isolation level and Lost Update phenomena
- What concurrency issues can this PostgreSQL code create?
- PostgreSQL's Repeatable Read Allows Phantom Reads But its document says that it does not allow
- Does REPEATABLE READ affect Hibernate Expectations?
- Replay java stream in memory effiicient way?
Related Questions in TERMINAL
- Understanding InnoDB Repeatable Read isolation level snapshots
- Dump with SERIALIZABLE more consistent than `--single-transaction` (REPEATABLE READ) in MySQL
- update then select value which updated by other transaction but get the value before update
- Understanding InnoDB X-Lock with REPEATABLE_READ and READ_COMMITED isolation level
- InnoDb - SELECT while a Repeatable Read Transaction is Executing
- MySQL Repeatable Read isolation level and Lost Update phenomena
- What concurrency issues can this PostgreSQL code create?
- PostgreSQL's Repeatable Read Allows Phantom Reads But its document says that it does not allow
- Does REPEATABLE READ affect Hibernate Expectations?
- Replay java stream in memory effiicient way?
Related Questions in EMBED
- Understanding InnoDB Repeatable Read isolation level snapshots
- Dump with SERIALIZABLE more consistent than `--single-transaction` (REPEATABLE READ) in MySQL
- update then select value which updated by other transaction but get the value before update
- Understanding InnoDB X-Lock with REPEATABLE_READ and READ_COMMITED isolation level
- InnoDb - SELECT while a Repeatable Read Transaction is Executing
- MySQL Repeatable Read isolation level and Lost Update phenomena
- What concurrency issues can this PostgreSQL code create?
- PostgreSQL's Repeatable Read Allows Phantom Reads But its document says that it does not allow
- Does REPEATABLE READ affect Hibernate Expectations?
- Replay java stream in memory effiicient way?
Related Questions in REALBASIC
- Understanding InnoDB Repeatable Read isolation level snapshots
- Dump with SERIALIZABLE more consistent than `--single-transaction` (REPEATABLE READ) in MySQL
- update then select value which updated by other transaction but get the value before update
- Understanding InnoDB X-Lock with REPEATABLE_READ and READ_COMMITED isolation level
- InnoDb - SELECT while a Repeatable Read Transaction is Executing
- MySQL Repeatable Read isolation level and Lost Update phenomena
- What concurrency issues can this PostgreSQL code create?
- PostgreSQL's Repeatable Read Allows Phantom Reads But its document says that it does not allow
- Does REPEATABLE READ affect Hibernate Expectations?
- Replay java stream in memory effiicient way?
Related Questions in REALSTUDIO
- Understanding InnoDB Repeatable Read isolation level snapshots
- Dump with SERIALIZABLE more consistent than `--single-transaction` (REPEATABLE READ) in MySQL
- update then select value which updated by other transaction but get the value before update
- Understanding InnoDB X-Lock with REPEATABLE_READ and READ_COMMITED isolation level
- InnoDb - SELECT while a Repeatable Read Transaction is Executing
- MySQL Repeatable Read isolation level and Lost Update phenomena
- What concurrency issues can this PostgreSQL code create?
- PostgreSQL's Repeatable Read Allows Phantom Reads But its document says that it does not allow
- Does REPEATABLE READ affect Hibernate Expectations?
- Replay java stream in memory effiicient way?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is no pre-built control in RealStudio to accomplish this. However it's trivial to implement with a TextArea control and a Shell object set to Mode=2.
An example of this is included in the RealStudio Examples directory in your RealStudio install directory (by default on Windows, C:\Program Files\REAL Software\Real Studio\Examples\Shell\Interactive Shell.rbp.)