From 25cb74305d76e1e2aaa02c07d8027072d84bca6d Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Mon, 6 Jan 2025 20:43:36 -0500 Subject: Added quotes around cat command for sending static files. --- common/utilities.F90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/utilities.F90 b/common/utilities.F90 index e200def..c091c6e 100644 --- a/common/utilities.F90 +++ b/common/utilities.F90 @@ -587,9 +587,9 @@ contains character(*), intent(in)::filename #ifdef WINDOWS - call execute_command_line("type "//trim(filename), wait=.true.) + call execute_command_line('type "'//trim(filename)//'"', wait=.true.) #else - call execute_command_line("cat "//trim(filename), wait=.true.) + call execute_command_line('cat "'//trim(filename)//'"', wait=.true.) #endif end subroutine echo_file_stdout -- cgit v1.2.3