All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating resource.
Please try to avoid dependencies to third-party libraries and frameworks.
program p integer :: i call execute_command_line("x a b", exitstat=i) print *, "Exit status of x was ", i call execute_command_line("x a b", wait=.false.) print *, "running x in the background" end program p
os.execute(x .. 'a b')
exec($x . " a b");
system $x, 'a', 'b';
`x a b`