-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
Affects Version/s: 1.3.1
-
Component/s: Connectivity, Telemetry Data
-
Environment:Linux
-
Not Needed
I try to run some scripts via job using --eval option but the shell hangs forever. Even "Ctrl+C" does not work, I have to terminate my terminal window:
$ mongosh --version 1.3.1 $ mongosh --norc --quiet 'mongodb://localhost:27017' [direct: mongos] test> db.getMongo() mongodb://localhost:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.3.1 [direct: mongos] test> exit $ mongosh --norc --quiet 'mongodb://localhost:27017' --eval 'db.getMongo()' mongodb://localhost:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.3.1 ... terminal hangs
Is there any solution for it?
Kind Regards
Wernfried