diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-12-13 09:13:35 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-12-13 09:13:35 +0000 |
commit | 3205740f8679f3408a3d5e4246d943b74db80f47 (patch) | |
tree | c9ec9880384e70b677c8e1f0ccabb207096fc96f /Source/SPDatabaseDocument.m | |
parent | 3adfcf0898f78a8459aedd46be5e89ec906f0314 (diff) | |
download | sequelpro-3205740f8679f3408a3d5e4246d943b74db80f47.tar.gz sequelpro-3205740f8679f3408a3d5e4246d943b74db80f47.tar.bz2 sequelpro-3205740f8679f3408a3d5e4246d943b74db80f47.zip |
• HTML output window
- a BASH script called via window.system.run() inherits the current shell vars and the associated SP_PROCESS_ID if set to make it easier to run sequelpro URL scheme commands from JavaScript via BASH
- improved error handling
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r-- | Source/SPDatabaseDocument.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 144f0710..7cea8eab 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -4816,6 +4816,9 @@ - (NSDictionary*)shellVariables { + + if(!_isConnected) return [NSDictionary dictionary]; + NSMutableDictionary *env = [NSMutableDictionary dictionary]; if (tablesListInstance) { |