Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7b11315 in mainline for uspace/app/terminal/terminal.h


Ignore:
Timestamp:
2021-11-01T21:24:05Z (3 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
24c452b3
Parents:
91ece11b
Message:

Add -c option to terminal to execute a command

This is to allow terminal-mode commands to be run from non-terminal
(i.e. GUI) context. This way is similar to what UN*X style OSses do.
For the record, I think this is a kludge. I think we can do better.
A console/terminal window could be automatically open when needed
(something like that happens in Windows?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/terminal/terminal.h

    r91ece11b r7b11315  
    9494
    9595extern errno_t terminal_create(const char *, sysarg_t, sysarg_t,
    96     terminal_flags_t, terminal_t **);
     96    terminal_flags_t, const char *, terminal_t **);
    9797extern void terminal_destroy(terminal_t *);
    9898
Note: See TracChangeset for help on using the changeset viewer.