title: subprocess.run failing to run command
body: <p>I pass this string to subproccess.run and split on spaces.</p>
  <p>This is how I build the string</p>
  <pre><code>patch_request = f&quot;&quot;&quot;/usr/local/bin/kubectl patch secret {secret_name} --type=&quot;json&quot; -p='[{{&quot;op&quot;:&quot;replace&quot;,&quot;path&quot;:&quot;/data/{k}&quot;,&quot;value&quot;:&quot;{v}&quot;}}]'&quot;&quot;&quot;
  </code></pre>
  <p>It produces</p>
  <pre><code>/usr/local/bin/kubectl patch secret beta --type=&quot;json&quot; -p=\'[{&quot;op&quot;:&quot;replace&quot;,&quot;path&quot;:&quot;/data/foo&quot;,&quot;value&quot;:&quot;mock_value&quot;}]\'
  </code></pre>
  <p>I end up getting this error back. Any idea what could be going wrong?</p>
  <pre><code>CompletedProcess(args=['/usr/local/bin/kubectl', 'patch', 'secret', 'beta', '--type=&quot;json&quot;', '-p=\'[{&quot;op&quot;:&quot;replace&quot;,&quot;path&quot;:&quot;/data/foo&quot;,&quot;value&quot;:&quot;mock_value&quot;}]\''], returncode=1, stdout='', stderr='error: --type must be one of [json merge strategic], not &quot;\\&quot;json\\&quot;&quot;\n')
  </code></pre>