You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A solution that works better is to create a bat file, such as run_sqlplus.bat and place the following command inside it:
echo exit | echo show errors | sqlplus %1 %2
The build task definition then becomes:
{
"version": "0.1.0",
// The command is a shell script
"isShellCommand": true,
// Run sqlplus via a batch file
"command": "run_sqlplus.bat",
"args": ["username/password@sid", "@\"${file}\""]
}
This will run sqlplus, output any errors, and then exit cleanly back to VS Code.
It would be great if you could update the readme with this workaround/improvement.
The text was updated successfully, but these errors were encountered:
The readme suggests making a task to run sqlplus to build/compile code.
Unless the script/file contains an "exit" statement, sqlplus will hang in the background and never complete, as described here: http://serverfault.com/questions/87035/run-oracle-sql-script-and-exit-from-sqlplus-exe-via-command-prompt
A solution that works better is to create a bat file, such as
run_sqlplus.bat
and place the following command inside it:echo exit | echo show errors | sqlplus %1 %2
The build task definition then becomes:
This will run sqlplus, output any errors, and then exit cleanly back to VS Code.
It would be great if you could update the readme with this workaround/improvement.
The text was updated successfully, but these errors were encountered: