M_CLI2

subroutinerunit

subroutine runit(string)

Arguments

NameTypeIntentAttributesDescription
stringcharacter(len=*)in

Source

Show the code
subroutine runit(string)
character(len=*),intent(in) :: string
character(len=4096) :: cmd
   call get_command_argument(0,cmd)
   write(stdout,it)'RUN:',string
   call execute_command_line(trim(cmd)//' '//string)
end subroutine runit

Graphs

Called by

Variables

NameTypeAttributesDescription
cmdcharacter(len=4096)