ProcessWrapper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ProcessWrapper

pascal.vollmer
Hi,
 
A question about ProcessWrapper. I use ProcessWrapper to execute a Windows-application from Squeak. Everything is fine and reproducible as far as I activate this message sequence in the Workspace:

ProcessWrapper new useStdout;  
startWithShellCommand: 'path_to_executable\executable.exe';  
upToEnd;  
waitForExitFor: 5000;  
exitCode.

As soon as I integrate the same stuff in a method, the image crashes. When I debug the situation I see that the crash occurs while performing ProcessWrapper>>upToEnd. Any clue what could be the problem here? Or how to investigate further?

Kind regards,
Pascal

Pascal Vollmer
Email: [hidden email]

Traumziele - von Beschreibung bis Buchung jetzt kompakt auf den Reise-Seiten von Arcor.de! http://www.arcor.de/rd/footer.reise
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: ProcessWrapper

hernanmd
Hi Pascal,

Most of the VM exceptions are catched, there should be a
SqueakDebug.log or crash.dmp in your image directory. Please be sure
to check http://wiki.squeak.org/squeak/2168 too.

If you provide a stack trace you will get more chances to get a reply.
Regards,

HernĂ¡n

2010/4/27  <[hidden email]>:

> Hi,
>
> A question about ProcessWrapper. I use ProcessWrapper to execute a Windows-application from Squeak. Everything is fine and reproducible as far as I activate this message sequence in the Workspace:
>
> ProcessWrapper new useStdout;
> startWithShellCommand: 'path_to_executable\executable.exe';
> upToEnd;
> waitForExitFor: 5000;
> exitCode.
>
> As soon as I integrate the same stuff in a method, the image crashes. When I debug the situation I see that the crash occurs while performing ProcessWrapper>>upToEnd. Any clue what could be the problem here? Or how to investigate further?
>
> Kind regards,
> Pascal
>
> Pascal Vollmer
> Email: [hidden email]
>
> Traumziele - von Beschreibung bis Buchung jetzt kompakt auf den Reise-Seiten von Arcor.de! http://www.arcor.de/rd/footer.reise
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners