|
Not going to work. Sorry.
You can pause and restart the process. But it will resume where it left off.
You can use fc to edit the history and repair the command. But if you run it, you run a new copy of the process.
But there is a solution here. Your program, "my_executable_file", does not need to accept whatever the shell feeds it for stdin. If it must output to "my_outfile", it should simply open the file itself. Then the error you're worried about becomes impossible.
If you can't modify the program, write a tiny shell script that invokes it correctly. Then just run the script each day.
|