From 7731b2dbe2fcfe3c0e907e005230a3c090e6e4b6 Mon Sep 17 00:00:00 2001 From: Somajit Dey Date: Wed, 6 Jan 2021 13:39:28 +0530 Subject: [PATCH] v2.1 release-candidate#2 --- src/progrep.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/progrep.f90 b/src/progrep.f90 index a1d60df..e97babd 100644 --- a/src/progrep.f90 +++ b/src/progrep.f90 @@ -264,7 +264,7 @@ Subroutine append_log(dummy) bind(c) WRITE(intro,'(a,1x,a)')'Started:',TRIM(ADJUSTL(Sim_start_expanded)) -CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' 2&>/dev/null') !Just a workaround for WSL +CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' > /dev/null 2>&1') !Just a workaround for WSL OPEN(NEWUNIT=logfileUnit,FILE=TRIM(ADJUSTL(logfileName)),STATUS='UNKNOWN',FORM='FORMATTED', ACCESS='SEQUENTIAL', & ACTION='READ',IOSTAT=readStat) READ(logfileUnit,'(a)',IOSTAT=readStat)record @@ -500,7 +500,7 @@ Subroutine progrep_config OPEN(NEWUNIT=storeUnit,FILE=storeFile) READ(storeUnit,'(a)')started_remote_log CLOSE(storeUnit) - CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' 2&>/dev/null') !Just a workaround for WSL + CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' > /dev/null 2>&1') !Just a workaround for WSL OPEN(NEWUNIT=logfileUnit,FILE=logfileName,STATUS='old',IOSTAT=readStat) READ(logfileUnit,'(a)',IOSTAT=readStat)started_local_log CLOSE(logfileUnit)