Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mlaunch: can't start process if base path name contains spaces #903

Open
stennie opened this issue Jan 19, 2023 · 0 comments
Open

mlaunch: can't start process if base path name contains spaces #903

stennie opened this issue Jan 19, 2023 · 0 comments

Comments

@stennie
Copy link
Collaborator

stennie commented Jan 19, 2023

For example, with base path of "/Users/bobbytables 1/" the space is not properly escaped:

mlaunch init --sharded 2 --replicaset --auth
Detected mongod version: 6.0.3
Generating keyfile: /Users/bobbytables 1/tmp/data/keyfile
b'/bin/sh: -c: line 0: unexpected EOF while looking for matching `"\'\n/bin/sh: -c: line 1: syntax error: unexpected end of file\n'

can't start process, return code 2. tried to launch: "mongod" --replSet shard01 --dbpath "/Users/bobbytables 1/tmp/data/shard01/rs1/db" --logpath "/Users/bobbytables 1/tmp/data/shard01/rs1/mongod.log" --port 27018 --fork   1/tmp/data/keyfile" --shardsvr --wiredTigerCacheSizeGB 1 
log: "/Users/bobbytables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant