1. Patrick Mézard
  2. pysh

Commits

Patrick Mézard  committed f407720

builtin: make kill return 0 if no command was passed

  • Participants
  • Parent commits 88ad4a5
  • Branches default

Comments (0)

Files changed (1)

File pysh/builtin.py

View file
  • Ignore whitespace
     if 'debug-utility' in debugflags:
         print interp.log(' '.join([name, str(args), interp['PWD']]) + '\n')
         
+    status = 0
     for arg in args:
         pid = int(arg)
         status = subprocess.call(['pskill', '/T', str(pid)],