Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
96b6832834 |
@ -28,7 +28,7 @@ type HandleProcMsgCB* = proc (outMsg: TaintedString,
|
||||
errMsg: TaintedString, cmd: string): void
|
||||
|
||||
proc sendMsg*(h: HandleProcMsgCB, outMsg: TaintedString,
|
||||
errMsg: TaintedString = nil, cmd: string): void =
|
||||
errMsg: TaintedString = nil, cmd: string = ""): void =
|
||||
if h != nil: h(outMsg, errMsg, cmd)
|
||||
|
||||
proc waitForWithOutput*(p: Process, msgCB: HandleProcMsgCB,
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Package
|
||||
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
author = "Jonathan Bernard"
|
||||
description = "Helper functions for writing command line interfaces."
|
||||
license = "MIT"
|
||||
|
Reference in New Issue
Block a user