Debugging PDF exportation on Windows.

This commit is contained in:
RicardoZapata 2017-12-01 21:07:00 +00:00 committed by SantiagoBragagnolo
parent e97791180d
commit 924a1deeff
1 changed files with 4 additions and 1 deletions

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)
]