Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I Need to repeat the following shell command on a windows server 2012 that uses powershell. Found that start command was nearly the same but I need it to be powershell like. The command (it runs in linux environment):

nohup php -q {filename} 1 > logfile.out 2> errorfile.err < /dev/null & echo $!

Also please explain what means the part with /dev/null.Thanks.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.