In linux I do something to get the response of one command and pass as argument to another:
./program 'ruby -e"puts 'Oh' * 3"'
In case what is between the accents ( ruby -e"puts 'Oh' * 3"
) will be executed and the return will be passed as argument to program
.
How can I do this in Windows?
I thought of creating a batch file and running the program with the argument, plus I need only the command, not run inside batch file