You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT: Halt should get documented so people can know how it exists.
Old description below:
Hello! I'm trying to convert some existing code that uses child_process to zx. It's working fine, but I want to print out the commands that are run. I know I can enable verbose mode and override the logger, but that isn't as flexible as the logging I need to do. I see zx 8 uses zurk under the hood, which has a buildCmd function. While that could work, it's not a template tag, so I'd need to manually verify it's actually what zx is running. I'd love an API to create commands without running them (as I think about it, it'd also be useful if xz exposed an exec function to run a command from the proposed builder tag).
I'd be willing to PR this if this is a direction you're willing to consider.
The text was updated successfully, but these errors were encountered:
EDIT: Halt should get documented so people can know how it exists.
Old description below:
Hello! I'm trying to convert some existing code that uses
child_process
to zx. It's working fine, but I want to print out the commands that are run. I know I can enable verbose mode and override the logger, but that isn't as flexible as the logging I need to do. I see zx 8 useszurk
under the hood, which has abuildCmd
function. While that could work, it's not a template tag, so I'd need to manually verify it's actually what zx is running. I'd love an API to create commands without running them (as I think about it, it'd also be useful if xz exposed an exec function to run a command from the proposed builder tag).The text was updated successfully, but these errors were encountered: