code: def spawnu(*args, **kwargs):
      """Deprecated: pass encoding to spawn() instead."""
      kwargs.setdefault("encoding", "utf-8")
      return spawn(*args, **kwargs)
  
imports: import os
  import sys
  import time
  import pty
  import tty
  import errno
  import signal
  from contextlib import contextmanager
  import ptyprocess
  from ptyprocess.ptyprocess import use_native_pty_fork
  from .exceptions import ExceptionPexpect, EOF, TIMEOUT
  from .spawnbase import SpawnBase
  from .utils import which, split_command_line, select_ignore_interrupts, poll_ignore_interrupts
label_desc: Use image node_id 2 for calling a global function with example usage: spawnu() and returns: spawn