aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_command_line.f90
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-11-28 11:55:50 +0000
committerLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-11-29 11:56:10 +0000
commit0c561b0f76bc6fa7777dec884a16b76694913adf (patch)
tree76d60af0501dc66ee8c81881ef2a01f0ad6039e5 /src/fpm_command_line.f90
parentb0115d1a000ee15d3ca773c3da3300595d805454 (diff)
downloadfpm-0c561b0f76bc6fa7777dec884a16b76694913adf.tar.gz
fpm-0c561b0f76bc6fa7777dec884a16b76694913adf.zip
Apply suggestion: move run to filesystem and use getline
fpm_environment::run is moved to fpm_filesystem so that it can use the getline function to retrieve redirected output from file
Diffstat (limited to 'src/fpm_command_line.f90')
-rw-r--r--src/fpm_command_line.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fpm_command_line.f90 b/src/fpm_command_line.f90
index 0837bf2..99fdef2 100644
--- a/src/fpm_command_line.f90
+++ b/src/fpm_command_line.f90
@@ -29,8 +29,8 @@ use fpm_environment, only : get_os_type, get_env, &
use M_CLI2, only : set_args, lget, sget, unnamed, remaining, specified
use M_CLI2, only : get_subcommand, CLI_RESPONSE_FILE
use fpm_strings, only : lower, split, fnv_1a, to_fortran_name, is_fortran_name
-use fpm_filesystem, only : basename, canon_path, which
-use fpm_environment, only : run, get_command_arguments_quoted
+use fpm_filesystem, only : basename, canon_path, which, run
+use fpm_environment, only : get_command_arguments_quoted
use fpm_error, only : fpm_stop
use,intrinsic :: iso_fortran_env, only : stdin=>input_unit, &
& stdout=>output_unit, &