0

is there a way to execute php -S localhost:8000 -t public/ but in background

Something simiar to -d in docker.

Thank you

1 Answers1

0

This would put your process in the background. you can see the background processes by running a ps command

php -S localhost:8000 -t public/ > output.log 2>&1 &

the logs or output of your process will be available in the file output.log.

Shobi
  • 10,374
  • 6
  • 46
  • 82