Skip to content

Commit

Permalink
test windows
Browse files Browse the repository at this point in the history
  • Loading branch information
miyako committed Dec 4, 2024
1 parent 8070385 commit 83a4db7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions xmlsec/Project/Sources/Classes/xmlsec.4dm
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
Class extends _CLI

Class constructor()
Class constructor($controller : 4D:C1709.Class)

Super:C1705(Is macOS:C1572 ? "xmlsec1" : "xmlsec"; cs:C1710._xmlsec_Controller)
Super:C1705(Is macOS:C1572 ? "xmlsec1" : "xmlsec"; $controller=Null:C1517 ? cs:C1710._xmlsec_Controller : $controller)

This:C1470.controller.timeout:=5

Function get worker() : 4D:C1709.SystemWorker

return This:C1470._controller.worker
return This:C1470.controller.worker

Function get controller()->$controller : cs:C1710._xmlsec_Controller
Function get controller() : cs:C1710._xmlsec_Controller

$controller:=This:C1470._controller
return This:C1470._controller

Function _terminate()
Function terminate()

This:C1470.controller.terminate()

Expand All @@ -28,8 +30,6 @@ Function version() : Text

return $version.length#0 ? $version[0] : ""

Function sign()

Function perform($options : Collection) : cs:C1710.xmlsec

$command:=This:C1470.escape(This:C1470.executablePath)
Expand All @@ -50,7 +50,7 @@ Function perform($options : Collection) : cs:C1710.xmlsec

: (Value type:C1509($option)=Is text:K8:3)
Case of
: ($option="--@")
: ($option="--@") || (Match regex:C1019("-[a-z]"; $option))
$command+=" "+$option
Else
$command+=" "+This:C1470.escape($option)
Expand Down

0 comments on commit 83a4db7

Please sign in to comment.