Skip to content

Commit

Permalink
change directory to ensure file creation is standardized
Browse files Browse the repository at this point in the history
  • Loading branch information
keenanlang authored Jan 19, 2024
1 parent b8f8fc5 commit 461c60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iocBoot/iocxxx/softioc/commands/remote.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub _local
my $LOG_FILE="$IOC_STARTUP_DIR/softioc/logs/remote/${prefix}.log_${curr_time}";

# Start Command Port
system("$PROCSERV --allow --quiet --oneshot -L $LOG_FILE -i ^C --logoutcmd=^D -I $prefix.txt $ip_addr:$port $FindBin::RealBin/$FindBin::RealScript remote commandline");
system("cd $FindBin::RealBin; $PROCSERV --allow --quiet --oneshot -L $LOG_FILE -i ^C --logoutcmd=^D -I $prefix.txt $ip_addr:$port $FindBin::RealBin/$FindBin::RealScript remote commandline");
}
elsif ( $ONOFF eq "disable" )
{
Expand Down

0 comments on commit 461c60d

Please sign in to comment.