Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Unable to get shell output using non-interactive #290

Open
kasvtv opened this issue May 4, 2021 · 1 comment
Open

Unable to get shell output using non-interactive #290

kasvtv opened this issue May 4, 2021 · 1 comment

Comments

@kasvtv
Copy link

kasvtv commented May 4, 2021

Hi, I'm doing some automation work with cypher-shell with the following command:

cypher-shell -u $USER -p $PASS -f $filename

And while in an interactive shell I get the script's output nicely on stdout, e.g.:

0 rows available after 2 ms, consumed after another 0 ms
Set 6 properties

I am unable to find a way to get such output when running in a non-interactive bash shell. How can I do this? I'd prefer to have this info in the logs of my automation scripts for debugging/visibility purposes.

@MattMencel
Copy link

MattMencel commented Dec 17, 2021

@kasvtv did you ever figure this out? I'm running it in a Kubernetes Job and it finishes successfully but I see the same issue, no output in the logs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants