Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
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 
		
		
	Runtime.getRuntime().exec(new String[]{"x", "a", "b"});
		
		
	(sb-ext:run-program '("a" "b") "/path/to/x")
		
		
	os.execute(x .. 'a b')
		
		
	exec($x . " a b");
		
		
	system $x, 'a', 'b';
		
		
	`x a b`