I hope someone can help me with this simple problem. I want to run this command in parallel
windmill chrome test=./test http://www.google.ch
I was playing around with xargs and looked at the examples in the internet. However, I was not able to construct a xargs command to execute my mentioned command in parallel.
I tried the following
echo "chrome test=./test http://www.google.ch" | xargs -n 1 -P 2 windmill
which did not execute the right command meaning that windmill must have executed the wrong command because the output is not correct (default output of windmill for specifying wrong arguments).
Nevertheless, I got then another problem namely that the terminal/python complained about "socket.error: [Errno 48] Address already in use".
So when I run the windmill command in parallel by just openen for example two terminals and run in each terminal the windmill command and it works.
If xargs is not solution then I appreciate it a lot if you can pinpoint me to the correct way how to do it :)