pub fn create_log_file_handles(task_id: usize, path: &Path) -> Result<(File, File), Error> {
    let (out_path, err_path) = get_log_paths(task_id, path);
    let stdout = File::create(out_path)?;
    let stderr = File::create(err_path)?;

    Ok((stdout, stderr))
}
/// Create and return the file handle for the `(stdout, stderr)` log files of a task.
Create and return the file handle for the `(stdout, stderr)` log files of a task.
Create and return the file handle for the ` ( stdout stderr ) ` log files of a task .
pub fn create_log_file_handles(task_id: usize, path: &Path) -> Result<(File, File), Error> {
    let (out_path, err_path) = get_log_paths(task_id, path);
    let stdout = File::create(out_path)?;
    let stderr = File::create(err_path)?;
    Ok((stdout, stderr))
}
pub fn create_log_file_handles ( task_id : usize , path : & Path ) -> Result < ( File , File ) , Error > { let ( out_path , err_path ) = get_log_paths ( task_id , path ) ; let stdout = File :: create ( out_path ) ? ; let stderr = File :: create ( err_path ) ? ; Ok ( ( stdout , stderr ) ) }
Create and return the file handle for the `(stdout, stderr)` log files of a task.
Create and return the file handle for the ` ( stdout stderr ) ` log files of a task .
task_id
usize
path
&Path
task_id
usize
path
&Path