aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2025-01-06 20:43:36 -0500
committerJeffrey Armstrong <jeff@approximatrix.com>2025-01-06 20:43:36 -0500
commit25cb74305d76e1e2aaa02c07d8027072d84bca6d (patch)
treee3287d4fb9c55ad666c03badeb4a149ebff1e1cc
parent89d41bd1fc6a9b812998b960da0b196240c98292 (diff)
downloadlevitating-25cb74305d76e1e2aaa02c07d8027072d84bca6d.tar.gz
levitating-25cb74305d76e1e2aaa02c07d8027072d84bca6d.zip
Added quotes around cat command for sending static files.
-rw-r--r--common/utilities.F904
1 files 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