mtools
mtools copied to clipboard
mlaunch: can't start process if base path name contains spaces
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