Fixing export JSON file optimized.

This commit is contained in:
ruidajo 2022-03-07 17:29:59 -05:00
parent af24c8094c
commit 5caea6c43b

View File

@ -161,14 +161,11 @@ TiddlyWiki >> exportJSONFileOptimized [
wikiFolder := self file parent. wikiFolder := self file parent.
exporter := wikiFolder / 'scripts' / 'exportJsonFile'. exporter := wikiFolder / 'scripts' / 'exportJsonFile'.
exporter exists ifFalse: [ self installJsonExporter]. exporter exists ifFalse: [ self installJsonExporter].
"Ejecutar el exportador de JSON con OSSubprocess."
OSSUnixSubprocess new OSSUnixSubprocess new
command: exporter fullName; command: exporter fullName;
arguments: {};
workingDirectory: exporter parent fullName; workingDirectory: exporter parent fullName;
redirectStdout; runAndWaitOnExitDo: [ :process :outString | ^ process ]
redirectStderr;
runAndWaitOnExitDo: [ :process :outString | ^ outString ]
] ]
{ #category : #accessing } { #category : #accessing }