forked from quickshell/quickshell
io/process: add StdioCollector data stream parser
This commit is contained in:
parent
0224fa942b
commit
2b01a75679
3 changed files with 67 additions and 4 deletions
|
@ -22,8 +22,8 @@
|
|||
/// Process {
|
||||
/// running: true
|
||||
/// command: [ "some-command", "arg" ]
|
||||
/// stdout: SplitParser {
|
||||
/// onRead: data => console.log(`line read: ${data}`)
|
||||
/// stdout: @@StdioCollector {
|
||||
/// onStreamFinished: console.log(`line read: ${this.text}`)
|
||||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue