Repository: JoshuaKGoldberg/tslint-to-eslint-config (ts)
Issue: Wrap exec paths to configurations in quotes
### 🐛 Bug Report

-   `tslint-to-eslint-config` version: 0.1.7
-   ESLint version: N/A
-   Node version: N/A

#### Actual Behavior

If the path to a configuration file provided as a CLI has a space, the internal `exec` call will treat the portions of the path after the space as extra arguments. That's a crash.

#### Expected Behavior

Don't do that, please.

#### Reproduction

```shell
tslint-to-eslint-config --eslint "./path with spaces/.eslintrc.js"
```
Pull request description: Wrapped config lookup paths in quotes
## PR Checklist

-   [x] Addresses an existing issue: fixes #80
-   [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/tslint-to-eslint-config/labels/status%3A%20accepting%20prs)

## Overview

Wraps the `${config}` as `"${config}"` in `findConfiguration.ts` so the resultant command will be something like `cat ./path with spaces/tsconfig.json`.

Patch:
diff --git a/src/input/findConfiguration.ts b/src/input/findConfiguration.ts
index 61260dd..d91acb9 100644
--- a/src/input/findConfiguration.ts
+++ b/src/input/findConfiguration.ts
@@ -13,7 +13,7 @@ export const findConfiguration = async <Configuration>(
     command: string,
     config: string,
 ): Promise<DeepPartial<Configuration> | Error> => {
-    const fullCommand = `${command} ${config}`;
+    const fullCommand = `${command} "${config}"`;
     const stdout = await execAndCatch(exec, fullCommand);
 
     if (stdout instanceof Error) {


Test patch:
diff --git a/src/input/findESLintConfiguration.test.ts b/src/input/findESLintConfiguration.test.ts
index 173a40c..08118a9 100644
--- a/src/input/findESLintConfiguration.test.ts
+++ b/src/input/findESLintConfiguration.test.ts
@@ -33,7 +33,7 @@ describe("findESLintConfiguration", () => {
         await findESLintConfiguration(dependencies, createStubRawSettings());
 
         // Assert
-        expect(dependencies.exec).toHaveBeenLastCalledWith("eslint --print-config ./eslintrc.js");
+        expect(dependencies.exec).toHaveBeenLastCalledWith(`eslint --print-config "./eslintrc.js"`);
     });
 
     it("includes a configuration file in the ESLint command when one is provided", async () => {
@@ -48,7 +48,7 @@ describe("findESLintConfiguration", () => {
 
         // Assert
         expect(dependencies.exec).toHaveBeenLastCalledWith(
-            "eslint --print-config ./custom/eslintrc.js",
+            `eslint --print-config "./custom/eslintrc.js"`,
         );
     });
 
diff --git a/src/input/findPackagesConfiguration.test.ts b/src/input/findPackagesConfiguration.test.ts
index 01d23b4..e0fd950 100644
--- a/src/input/findPackagesConfiguration.test.ts
+++ b/src/input/findPackagesConfiguration.test.ts
@@ -10,7 +10,7 @@ describe("findPackagesConfiguration", () => {
         await findPackagesConfiguration(dependencies, undefined);
 
         // Assert
-        expect(dependencies.exec).toHaveBeenLastCalledWith("cat ./package.json");
+        expect(dependencies.exec).toHaveBeenLastCalledWith(`cat "./package.json"`);
     });
 
     it("includes a configuration file in the packages command when one is provided", async () => {
@@ -22,7 +22,7 @@ describe("findPackagesConfiguration", () => {
         await findPackagesConfiguration(dependencies, config);
 
         // Assert
-        expect(dependencies.exec).toHaveBeenLastCalledWith("cat ./custom/package.json");
+        expect(dependencies.exec).toHaveBeenLastCalledWith(`cat "./custom/package.json"`);
     });
 
     it("applies packages defaults when none are provided", async () => {
diff --git a/src/input/findTslintConfiguration.test.ts b/src/input/findTslintConfiguration.test.ts
index 5e74550..3acbff3 100644
--- a/src/input/findTslintConfiguration.test.ts
+++ b/src/input/findTslintConfiguration.test.ts
@@ -26,7 +26,7 @@ describe("findTSLintConfiguration", () => {
         await findTSLintConfiguration(dependencies, undefined);
 
         // Assert
-        expect(dependencies.exec).toHaveBeenLastCalledWith("tslint --print-config ./tslint.json");
+        expect(dependencies.exec).toHaveBeenLastCalledWith(`tslint --print-config "./tslint.json"`);
     });
 
     it("includes a configuration file in the TSLint command when one is provided", async () => {
@@ -39,7 +39,7 @@ describe("findTSLintConfiguration", () => {
 
         // Assert
         expect(dependencies.exec).toHaveBeenLastCalledWith(
-            "tslint --print-config ./custom/tslint.json",
+            `tslint --print-config "./custom/tslint.json"`,
         );
     });
 
diff --git a/src/input/findTypeScriptConfiguration.test.ts b/src/input/findTypeScriptConfiguration.test.ts
index 4604faf..ac9e8c7 100644
--- a/src/input/findTypeScriptConfiguration.test.ts
+++ b/src/input/findTypeScriptConfiguration.test.ts
@@ -26,7 +26,7 @@ describe("findTypeScriptConfiguration", () => {
         await findTypeScriptConfiguration(dependencies, undefined);
 
         // Assert
-        expect(dependencies.exec).toHaveBeenLastCalledWith("cat ./tsconfig.json");
+        expect(dependencies.exec).toHaveBeenLastCalledWith(`cat "./tsconfig.json"`);
     });
 
     it("includes a configuration file in the TypeScript command when one is provided", async () => {
@@ -38,7 +38,7 @@ describe("findTypeScriptConfiguration", () => {
         await findTypeScriptConfiguration(dependencies, config);
 
         // Assert
-        expect(dependencies.exec).toHaveBeenLastCalledWith("cat ./custom/tsconfig.json");
+        expect(dependencies.exec).toHaveBeenLastCalledWith(`cat "./custom/tsconfig.json"`);
     });
 
     it("applies TypeScript defaults when none are provided", async () => {