fortplot_system_secure Module

Secure system operations module Provides safe alternatives to execute_command_line for common operations



Functions

public function create_directory_secure(dir_path) result(success)

Securely create a directory path using C system calls

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: dir_path

Return Value logical

public function open_file_secure(filename) result(success)

Securely open a file with system default application

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Return Value logical

public function validate_path_secure(path) result(valid)

Validate a file or directory path for security

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path

Return Value logical

public function check_command_available(command_name) result(available)

Securely check if a command is available

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: command_name

Return Value logical

public function delete_file_secure(filename) result(success)

Securely delete a file using system calls

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Return Value logical