code: def _launch(extra_env):
      env = os.environ.copy()
      env.update(extra_env)
      return Popen(
          [
              sys.executable,
              "-c",
              "from jupyter_client.kernelapp import main; main()",
          ],
          env=env,
          stderr=PIPE,
      )
  
file_path: jupyter_client/tests/test_kernelapp.py
imports: import os
  import shutil
  import sys
  import time
  from subprocess import PIPE, Popen
  from tempfile import mkdtemp
label_desc: Use image node_id 1 for calling a global function with example usage: _launch(extra_env) and returns: Popen