Skip to content

Commit

Permalink
Fixed a problem in lx when AppRoot contained quoted path
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaas2 committed Jan 15, 2021
1 parent 5322dbb commit 240a09f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified DUI.dws
Binary file not shown.
5 changes: 3 additions & 2 deletions wsSource/lx.dyalog
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
lx;App;Port;NoLink;path
lx;App;Port;NoLink;path
WC2Root11 ⎕NPARTS ⎕WSID WCRoot is the directory containing the workspace
⎕SE.SALT.Load WC2Root,'DUI.dyalog'
looks for envVars AppRoot, MSPort and NoLink.
:If 0<App2 ⎕NQ'.' 'GetEnvironment' 'AppRoot'
:If 0<App(2 ⎕NQ'.' 'GetEnvironment' 'AppRoot')~'"'
App('""'App[1,App]){(-)}App
NoLink1{0=: (,'1'),}+2 ⎕NQ'.' 'GetEnvironment' 'NoLink'
:If 0<Port2⎕VFI 2 ⎕NQ'.' 'GetEnvironment' 'MSPort'
DUI.Run App Port WC2Root NoLink
Expand Down

0 comments on commit 240a09f

Please sign in to comment.