Debugging PDF exportation on Windows.

This commit is contained in:
Ricardo Zapata 2017-12-01 21:07:00 +00:00 committed by Offray Luna
parent 97be568e06
commit eb55cb60ec

View File

@ -229,7 +229,10 @@ GrafoscopioNotebook >> exportAsPDF [
'pandoc ', self pandocOptionsComputed, ' ',
self markdownFile fullName, ' -o ', self pdfFile fullName.
Smalltalk platformName = 'unix' ifTrue: [ ExternalOSProcess command: pandocCommand ].
Smalltalk platformName = 'Win32' ifTrue: [ WindowsProcess command: pandocCommand ].
Smalltalk platformName = 'Win32'
ifTrue: [ WinProcess
createProcess: 'pandoc ', self pandocOptionsComputed, ' ',
self markdownFile fullName, ' -o ', self pdfFile fullName ].
self inform: ('File exported as: ', String cr, self pdfFile fullName)
]