Sean P. DeNigris | 12 Jun 2013 07:34
Gravatar

PipeableOSProcess shell interaction

When using PipeableOSProcess as a shell, how can I get feedback on the status
of the individual commands?

For example, with waitForCommand:, I can do:
  p := PipeableOSProcess waitForCommand: 'curl -L largeFile'.
  p succeeded ifFalse: [ ^ self error: 'Could not dowload...' ].

but a the shell like:
  shell := PipeableOSProcess bash.
  shell exec: ('cd ', folderName).
  shell exec: 'curl -L largeFile...'.
what's the equivalent of #succeeded? If there's no clear external sign that
the command is finished, how do I check? Also, I don't seem to get anything
back on the error stream e.g. if I change curl to cul, which doesn't exist,
I still get an empty string from #errorUpToEnd.

Thanks!

-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/PipeableOSProcess-shell-interaction-tp4692906.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
Mark Carter | 7 Jun 2013 00:52
Picon
Favicon
Gravatar

how are you?


http://mmhm.eu/ox/huiiw.php














































_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Joseph J Alotta | 28 May 2013 23:30
Picon
Gravatar

How do I install SqueakSSL?

How do I install SqueakSSL?
Joseph J Alotta | 27 May 2013 02:26
Picon
Gravatar

RE: classes and code snippets to download a web page

I was able to Install Webclient.

But when I try to use the snippet below, I get a walkback window "Error: SqueakSSL is missing".

How do I install SqueakSSL?

> client := WebClient new.
> client authParams: (Dictionary new
> 	at: #username put: 'your username here';
> 	at: #password put: 'your password here';
> 	yourself).
> response := client httpGet: 'http://example.com'.
Joseph J Alotta | 26 May 2013 18:15
Picon
Gravatar

RE: classes and code snippets to download a web page

Thanks Levente.

Is there a way to click on a link and navigate on the website?

Sincerely,

Joe.
Joseph J Alotta | 25 May 2013 18:28
Picon
Gravatar

RE: classes and code snippets to download a web page

I cannot find the WebClient class.  There needs to be a way to insert login information.

Remember you are talking with a beginner here.

Can someone please post a working snippet of code?

Sincerely,

Joe.

> Greetings,
> 
> I am looking for classes and code snippets to download a statement from my mutual fund company.
> 
> It would have to login, submit the password and then download from a link.
> 
> Does anyone have code that does this?
> 
> 
> Sincerely,
> 
> Joe.
> 
> 
> Hi Joe,
> 
> 
> 
> Have a look at WebClient httpGet:
> 'http://yourAddress.com/yourLinkToDownload'
> 
> 
> 
> It handles everything you need.
> 
> 
> 
> All the best,
> 
> 
> 
> Ron Teitelbaum
Joseph J Alotta | 24 May 2013 19:08
Picon
Gravatar

classes and code snippets to download a web page

Greetings,

I am looking for classes and code snippets to download a statement from my mutual fund company.

It would have to login, submit the password and then download from a link.

Does anyone have code that does this?

Sincerely,

Joe.
Frank Blechschmidt | 29 Apr 2013 18:34
Picon

Change background color of an element in a PluggableListMorph

Hi,

is it possible to change the background color of an element in a PluggableListMorph? How?

Best regards
Frank
_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Michael Perscheid | 16 Apr 2013 17:22

[ANN] Four new OLPC Games by the Software Architecture Group

Hi all,

we'd like to announce that we published four new games for the OLPC/XO laptop (also available 
for Standard Squeak, MIT license). They have been developed by students in the last semesters 
of our software architecture lecture (Hasso-Plattner-Institute, University of Potsdam).

http://www.hpi.uni-potsdam.de/swa/projects/olpc/index.html
(or: http://www.hpi.uni-potsdam.de/hirschfeld/projects/olpc/index.html)

In particular, we thank the following students for their course work and Matthias Springer for 
porting the projects to the XO. 

BroBreakout
	Fabio Niephaus, Daniel Werner, Philipp Otto, Frank Blechschmidt
PetConnect
	Jaqueline Pollak, Daniel Neuschaefer-Rube, Jakob Reschke, Judith Hartmann
BDBoulderDash
	Johannes Koch, Tim Friedrich, Johannes Villmow, Felix Wolff
SpaceCleanup
	Kai Fabian, Dominik Moritz, Malte Swart, Matthias Springer

More games are coming soon...

Best,
Michael

---
Michael Perscheid
michaelperscheid <at> googlemail.com

http://www.michaelperscheid.de/
Rahul Gandhi | 13 Apr 2013 12:02
Picon
Gravatar

Need help for gsoc 2013

hello i'm a student for gsoc 2013 and i'm looking for a mentor, could anyone give me some directions what to do?
 
_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Open Slate | 21 Mar 2013 23:22
Picon

Possible to read in postscript file?

I am thinking about converting an application I wrote from tcl/tk to Squeak. The app must allow the user to enter and edit formatted text -- a TextMorph works fine for this. In the tcl/tk version I save each entry to an individual file, marked up with formatting commands I created. The tk text widget handles formatted text, it just doesn't include methods for dumping and restoring the format tags. A Squeak TextMorph can save itself to a postscript file. Can it read one of these files and recreate the marked-up text?

On a bigger picture, not sure if I should follow this model or just save everything in the image. Disk space is disk space either way. If the tool is set up in its own project space it is relatively easy to file out, right? And back, say for back-up purposes? Thoughts?

--
Gary Dunn
Open Slate Project
http://openslate.org/
_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Gmane