These commands work:
SHELL "Stockfish go movetime 3000 >tempfile.txt"
SHELL "Stockfish bench 1 1 8 silver.epd >tempfile.txt"
But these do NOT work:
SHELL "Stockfish position startpos go movetime 3000 >tempfile.txt"
SHELL "Stockfish position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR b KQkq - 0 1 go movetime 3000 >tempfile.txt"
SHELL "Stockfish position startpos moves a2a3 go movetime 3000 >tempfile.txt"
As my input is a pgn-file, I would like this to work.
SHELL "Stockfish position startpos moves 1.e4 d6 2.d4 go movetime 3000 >tempfile.txt"
But it is probably outside the protocol