Skip to content

How can I check the progress of a script.Exec() command? #176

Open
@aaronpkelly

Description

@aaronpkelly

I have a long running Exec() query:

script.Exec("/home/aaron/big-script.sh")

This command takes a long time, but is always successful.

How can I check the progress of this Exec query? How do I know if it's still in-progress, or has finished running it's command?

I don't think I can check the exit status of the Pipe (as far as I can see), because that will only be set if there's an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions