VASmalltalk – Starting a Windows console application in a hidden way

I changed the MSKPlatformExtension (at vastgoodies.com) to version 1.37.00 and added support for starting a windows console application in a hidden way. I needed this feature when I used “gsprint.exe” to print pdf-files to printer devices.

Abstract example for usage:

| rc aStarter |
aStarter := MSKProgramStarter new.
rc := aStarter
        programPath: 'F:\Program Files (x86)\Ghostgum\gsview\gsprint.exe' ;
        parameters: '' ;
        startHidden: true;
        startProgramAndWaitForEndBlocking.
This entry was posted in Smalltalk and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s