pablovela5620 commited on
Commit
473c949
1 Parent(s): f6fe9bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def pixi_run():
16
  subprocess.check_call(command, shell=True)
17
 
18
  def check_port_and_kill():
19
- command = "lsof -t -i:7860 | xargs kill"
20
  subprocess.check_call(command, shell=True)
21
 
22
  if __name__ == "__main__":
 
16
  subprocess.check_call(command, shell=True)
17
 
18
  def check_port_and_kill():
19
+ command = "lsof -t -i:7860 | xargs -r kill"
20
  subprocess.check_call(command, shell=True)
21
 
22
  if __name__ == "__main__":