Print Thread
How to prevent Crash Recovery dialog by commandline param?
#65806 08/02/24 11:14 AM
Joined: Jul 2021
Posts: 5
V
Member
OP Offline
Member
V
Joined: Jul 2021
Posts: 5
What is the command-line parameter to prevent Crash Recovery dialog?
I've tried noscwarning , but this did not work.

Supplying commandfile does not prevent the dialog either.

The ideal workflow I aim is to keep the dialog when starting the app in "GUI" usage mode
and to skip the dialog when executing script (supplied via commandfile) in order to automate tasks.

Re: How to prevent Crash Recovery dialog by commandline param?
velislav #65811 08/05/24 07:59 AM
Joined: Aug 1999
Posts: 22,280
Member
Offline
Member
Joined: Aug 1999
Posts: 22,280
There is no parameter for this. You can only temporarily rename the recovery directory to prevent that PL/SQL Developer finds a recovery.

The recovery directory is located at %APPDATA%\PLSQL Developer [version]\PLS-Recovery

For example:

C:\Users\<User>\AppData\Roaming\PLSQL Developer 15\PLS-Recovery


Marco Kalter
Allround Automations
Re: How to prevent Crash Recovery dialog by commandline param?
Marco Kalter #65814 08/05/24 09:46 AM
Joined: Jul 2021
Posts: 5
V
Member
OP Offline
Member
V
Joined: Jul 2021
Posts: 5
Is it possible to add the functionality - skip the Crash Recovery Dlg - as a part of noscwarning param?

IMO adding a new cli param will flood the params, but you can arrange all dialogs preventing direct work after app start under the existing noscwarning?

Re: How to prevent Crash Recovery dialog by commandline param?
velislav #65815 08/06/24 08:02 AM
Joined: Aug 1999
Posts: 22,280
Member
Offline
Member
Joined: Aug 1999
Posts: 22,280
I have added this to the list of enhancement requests for version 16.0.


Marco Kalter
Allround Automations
Re: How to prevent Crash Recovery dialog by commandline param?
Marco Kalter #65839 08/20/24 10:29 AM
Joined: Jul 2021
Posts: 5
V
Member
OP Offline
Member
V
Joined: Jul 2021
Posts: 5
10x

Re: How to prevent Crash Recovery dialog by commandline param?
velislav #65841 08/21/24 08:58 AM
Joined: Aug 1999
Posts: 22,280
Member
Offline
Member
Joined: Aug 1999
Posts: 22,280
We have added a NoCrashRecovery command-line parameter for 16.0.

I was notified that the NoLoadDesktop parameter should already skip crash recovery.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.078s Queries: 14 (0.042s) Memory: 2.5175 MB (Peak: 3.0396 MB) Data Comp: Off Server Time: 2024-09-16 02:18:14 UTC
Valid HTML 5 and Valid CSS