x27;ps') ??output.
>
> The bug will show itself
> CheersDavide
> On Friday, February 4, 2022, 04:39:28 PM GMT+1, David T. Lewis
> wrote:
>
> Hi Davide,
>
> Actually the warning has been removed in newer versions of OSProcess.
> I do not have time to do an
eOffsetAfterJumpCheersDavide
>
> On Friday, February 4, 2022, 03:54:59 PM GMT+1, David T. Lewis
> wrote:
>
> On Fri, Feb 04, 2022 at 01:46:46PM +, Davide Varvello via Pharo-users
> wrote:
> > Hi guys,
> > Suddenly evaluating a simple: (PipeableOSProcess co
On Fri, Feb 04, 2022 at 01:46:46PM +, Davide Varvello via Pharo-users wrote:
> Hi guys,
> Suddenly evaluating a simple: (PipeableOSProcess command: 'ps') output, or
> any other PipeableOSProcess command, Pharo gives me: "aio event forwarding
> not supported".
> I guess it is something related
On Mon, Nov 08, 2021 at 07:31:12PM +1100, Jupiter Jones wrote:
> I have an old image I???d like to recover some code from.
>
> When I try to launch in Pharo 2 (from memory it was written in Pharo 2) I get
> this error:
>
> This interpreter (vers. 6505) cannot read image file (vers. 6502).
>
> I
On Tue, Jul 21, 2020 at 02:17:59AM +0800, Ben Coman wrote:
> On Mon, 20 Jul 2020 at 23:19, Sean P. DeNigris wrote:
> >
> > I want to take an IP address routing prefix in CIDR [1] notation (i.e. the
> > 24
> > in "192.168.100.14/24") and convert it into subnet form (i.e.
> > 255.255.255.0). I came
On Fri, Mar 27, 2020 at 08:35:47AM -0700, Ramon Leon wrote:
> On 2020-03-26 3:24 p.m., Eric Gade wrote:
> >Hi Ram??n,
> >
> >I have a couple of questions. If you are using OSProcess in Pharo 8
>
> I'm not, I don't try and keep up with the latest stuff, too much churn.
> But I'd imagine the lates
On Fri, Jan 10, 2020 at 10:52:51AM +0100, jtuc...@objektfabrik.de wrote:
>
> I wanted to stay out of this thread, because it leads nowhere. But now
> that I've typed all this, I will push the send button and regret it in a
> few minutes...
Joachim,
Thanks for pushing the send button.
Dave
On Thu, Dec 19, 2019 at 09:57:43PM +0100, Trygve Reenskaug wrote:
> Such a tool has existed for a long time, it's called /Squeak Reverse
> Engineering /(/SRE/). It's very useful for exploring execution stacks,
> objects, and object structures. It goes across different kinds of
> objects. It only
Hi Sean,
On Mon, Oct 14, 2019 at 08:16:17AM -0500, Sean P. DeNigris wrote:
> David T. Lewis wrote
> > Alistair Grant and I, with the support of Feenk, have made GitHub
> > repositories
> > for OSProcess and CommandShell
>
> Thank you to all involved!
>
>
On Mon, Oct 14, 2019 at 11:01:13AM -0500, Sean P. DeNigris wrote:
> David T. Lewis wrote
> > they can now be loading in Pharo...
>
> In Pharo 7.0.4, the following chugged for about an hour cycling back and
> forth between OSP and Command Shell without completing:
>
On Mon, Sep 09, 2019 at 05:46:48PM +1200, Richard O'Keefe wrote:
>
> (3) Oddly enough, the reason that #collect:thenDo: exists in my
> library is that I copied it from Squeak, at a time when it had
> the same definition as Pharo and ST/X. Had I known of the change
> in Squeak I would
On Fri, Mar 01, 2019 at 05:18:27PM +0100, Sven Van Caekenberghe wrote:
>
>
> > On 1 Mar 2019, at 17:08, Petr Fischer via Pharo-users
> > wrote:
> >
> >
> > From: Petr Fischer
> > Subject: Symbol equality method #= - weird condition in the Pharo sourcecode
> > Date: 1 March 2019 at 17:08:03 G
On Tue, Feb 19, 2019 at 11:37:38AM +0100, Albrecht Baur via Pharo-users wrote:
> From: Albrecht Baur
> Subject: OSProcess / OSSubprocess / LibC uniqueInstance
> To: pharo-users@lists.pharo.org
> Date: Tue, 19 Feb 2019 11:37:38 +0100
>
> I need to execute OS commands from within a x64 pharo 7.01 i
On Wed, Jul 25, 2018 at 02:20:30PM +0200, Damien Pollet wrote:
> On Wed, 25 Jul 2018 at 13:48, Sven Van Caekenberghe wrote:
>
> > > On 25 Jul 2018, at 13:39, Damien Pollet
> > wrote:
> > > Related issue: command line arguments come from VM system attributes as
> > ByteStrings??? and thus interpr
On Mon, Jul 23, 2018 at 07:38:16PM +0100, Denis Kudriashov wrote:
> Hi.
>
> I wonder does not stdout and stdin are always about text input/output?
No. Consider the case of reading and writing serialized objects on stdin
and stdout, possibly between two images sending serialized objects to one
ano
rtinez Peck
>> :
>> >
>> >
>> > On Wed, May 23, 2018 at 2:46 PM Sean P. DeNigris
>>
>> > wrote:
>> >>
>> >> David T. Lewis wrote
>> >> > FFI based solutions work at a different level of abstraction than
>> >> &g
Trygve,
Thank you for pressing the SEND button with a shaking hand. I am inspired
by your words. But I am only 22 years younger than you, and I hope that
others are reading and appreciating what you have to say.
Dave
On Thu, May 10, 2018 at 12:02:44PM +0200, Trygve Reenskaug wrote:
> At 87, I'm
On Fri, Apr 20, 2018 at 07:08:29AM -0700, Sean P. DeNigris wrote:
> Stephane Ducasse-3 wrote
> > I like when developers are talking about names:
> > They use a mac and not a computer, they were nike, lewis and not shoes
> > and pants
> > So guys can we focus our energy on positive things.
>
>
Richard,
That is a very good explanation, and 100% correct.
Dave
On Mon, Nov 20, 2017 at 12:30:38PM +1300, Richard A. O'Keefe wrote:
> I think the fundamental question is what a Date is supposed
> to represent. I have spent a LOT of time thinking about date
> and time classes over the last 10 y
On Sat, Oct 28, 2017 at 01:39:56PM +0200, Herby Vojk wrote:
> Hi,
>
> I had to find out how to automatically deploy the backend written in
> Pharo, and so far it uses docker-compose stop to stop the instance (and
> later docker-compose up -d to get everything up again).
>
> I noticed the st
I opened new issue 20167 for this.
Dave
On Mon, Jun 19, 2017 at 08:10:20AM +0200, Stephane Ducasse wrote:
> Thanks David.
> Once hilaire confirms it can you create a bug entry in pharo bug tracker?
>
> S.
>
> On Sun, Jun 18, 2017 at 9:37 PM, David T. Lewis wrote:
> &g
Hi Hilaire,
I confirmed this on Squeak, and added a new test based on your example.
The test is at
http://lists.squeakfoundation.org/pipermail/squeak-dev/2017-June/194766.html,
and the fix is
http://lists.squeakfoundation.org/pipermail/squeak-dev/2017-June/194767.html
I did not check a Phar
On Thu, May 18, 2017 at 10:18:34PM +0200, Sven Van Caekenberghe wrote:
>
> > On 18 May 2017, at 21:08, Esteban A. Maringolo wrote:
> >
> > Great! How long has it been there? :)
>
> Apparently since 2012 - can't really remember
>
Looking at a Squeak 3.0 image I would say that they were introdu
On Sun, Mar 26, 2017 at 05:45:04PM +0200, Esteban Lorenzano wrote:
>
> > On 26 Mar 2017, at 15:40, Peter Uhnak wrote:
> >
> > Hi,
> >
> > is it possible to use UFFI and avoid crashing the image when the called
> > code segfaults?
> >
> > In other words, can I somehow wrap the call and throw i
On Sat, Mar 11, 2017 at 06:16:26AM +0100, H. Hirzel wrote:
> On 3/10/17, Alexandre Bergel wrote:
> > Hi!
> >
> > Is there a simple way to translate Pharo code into Javascript?
> > There is Pharo JS, but I cannot load it in Pharo 6. There is the amber
> > compiler, but I cannot find a version for P
Hi Silas,
I am travelling and cannot help much right now, but to answer one of your
questions - yes, you can inspect errors in a PipeableOSProcess. It has an
"error pipeline stream" that will contain any output from the stderr
stream of the process.
It also has a process proxy for the actual exte
On Fri, Feb 24, 2017 at 01:07:18PM -0500, Offray Vladimir Luna C??rdenas wrote:
> Thanks Hilaire.
>
> I was thinking in something that depend on OSProcess and invoke xdg-open
> on Linux, for example, but is not working neither.
>
> OSProcess command: 'xdg-open ', pdfPathString
>
> doesn't open
On Tue, Nov 29, 2016 at 09:25:18PM -0800, Martin McClure wrote:
> On 11/29/2016 06:48 PM, Bruce Prior wrote:
> >I have been away from smalltalk coding for a while. On returning to
> >the fold, I often see the use of a right arrow in code. Is this
> >something new?
> >
> >Today in a Teapot app exa
On Wed, Oct 19, 2016 at 10:03:15PM +0200, Hilaire wrote:
> Hi Paul,
>
> Thanks for the tips.
> My image was running for days with the computer going to sleep
> regularly. Restarting the image solved the problem.
That is interesting and helpful, thanks. The process that receives notification
of ch
On Mon, Jun 06, 2016 at 08:34:40PM +0200, Sven Van Caekenberghe wrote:
>
> > On 06 Jun 2016, at 17:22, Sabine Manaa wrote:
> >
> > why ByteArray?
>
> http://www.unicode.org/faq/utf_bom.html
>
> A Unicode transformation format (UTF) is an algorithmic mapping from every
> Unicode code point (ex
Norbert,
You are probably right. I'm not sure the best way to handle it.
Dave
> Dave,
>
>> Am 06.06.2016 um 18:13 schrieb David T. Lewis :
>>
>> Hi Sabine,
>>
>> That's great that #utf8Encoded is working, thanks for confirming.
>>
>
ifNil: [self class noAccessorAvailable].
> ^ proc]
>
>
> regards
> Sabine
>
>
>>
>>
>
> 2016-06-06 8:41 GMT+02:00 Sabine Manaa :
>
>> Hi Dave,
>>
>> I get the german ä with:
>>
>> (Character value: 228) asString
>>
&
I think that Hilaire is right, although I don't know enough to say
how to handle the issue properly.
I tried making a unix file called b??r.pdf. I did this by
pasting the name with umlout from Sabine's email. I don't understand
the encodings (and my system is set up as US English), but I can say
t
On Mon, May 23, 2016 at 09:50:32PM +0800, Ben Coman wrote:
> On Mon, May 23, 2016 at 4:44 PM, Peter Uhn??k wrote:
> > The video is intentionally inflammatory and I don't really see a reason why
> > we would need to either start a flame war (if there are node.js devs reading
> > it), or an echo cha
On Thu, Jan 14, 2016 at 03:33:56PM -0300, Mariano Martinez Peck wrote:
> Dear all,
>
> I am happy to tell you I have a first prototype of the tool for executing
> OS processes:
>
> https://github.com/marianopeck/OSSubprocess
>
> As I said many times, the main idea was to be as much as possible
On Mon, Dec 21, 2015 at 06:09:05PM +0100, Stephan Eggermont wrote:
> On 21/12/15 14:47, David T. Lewis wrote:
> >I think that your VM is missing a couple of necessary plugins. The
> >XDisplayControlPlugin is used to close the socket connection to the
> >X display in the new ch
On Mon, Dec 21, 2015 at 01:23:35PM +, Dimitris Chloupis wrote:
> I tried to run the parrarelExample method of RemoteTask class which is
> loadable from CommandShell project and it seems it looks for a plugin that
> cant find.
>
> It gives me a warning
>
> forkSqueak requires XDispalyControlPl
Mariano,
I am really happy to see this and I look forword to helping you in
any way I can.
Dimitris,
It is really interesting that you should suggest this. I think it may
be a bit off topic for Mariano's initial goals, but Mariano is the
driving force behind Fuel, which is the serializer that I
gt;> "a PipeableOSProcess on an ExternalUnixOSProcess with pid 769 on
>>>>> /bin/sh (complete, normal termination with status 0)"
>>>>>
>>>>> I tried debugging but it froze the image with a
>>>>>
>>>>> Un
On Thu, Nov 05, 2015 at 10:22:31PM -0500, David T. Lewis wrote:
>
> Or put "(Delay forSeconds: 1)" right before you do "p output"?
Sorry, I meant to say:
"(Delay forSeconds: 1) wait" right before you do "p output"?
Dave
e
>
> Are there other ways to return the output of the terminal ?
>
> On Fri, Nov 6, 2015 at 1:57 AM David T. Lewis wrote:
>
> > On Thu, Nov 05, 2015 at 09:50:29PM +, Dimitris Chloupis wrote:
> > > So I try to understand how OSProcess work exactly to
On Thu, Nov 05, 2015 at 09:50:29PM +, Dimitris Chloupis wrote:
> So I try to understand how OSProcess work exactly to find why filetree
> seems not able to use it and generating the error I already reported
> earlier.
>
> Using something simple like
>
> OSProcess command:'pwd'
>
> works grea
On Wed, Jul 01, 2015 at 01:39:25AM +0200, Nicolai Hess wrote:
> 2015-07-01 0:39 GMT+02:00 Mariano Martinez Peck :
>
> > Then the only thing I can think of is a vm primitive that is implemented
> > differently in linux/mac than windows vm...
> >
>
> Yes, the vm primitives, like I already told some
ith:startingAt:
> new:
> at:put:
> at:put:
> primGetCurrentWorkingDirectory
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> primForkExec:stdIn:stdOut:stdErr:argBuf:argOffsets:envBuf:envOffsets:workingDir:
> primGetPid
> primGetPid
> primGetPid
&g
On Wed, Jun 03, 2015 at 07:05:15AM +0200, Thierry Goubier wrote:
> Hi Dave,
>
> Le 03/06/2015 03:15, David T. Lewis a ?crit :
> >Hi Thierry and Jose,
> >
> >I am reading this thread with interest and will help if I can.
> >
> >I do have one idea that we have
On Tue, Jun 02, 2015 at 02:34:49PM +0200, Thierry Goubier wrote:
> 2015-06-02 12:14 GMT+02:00 Jose San Leandro :
>
> > Hi Thierry,
> >
> > ConfigurationOfOSProcess-ThierryGoubier.38.mcz, which corresponds to
> > version 4.6.2.
> >
>
> Ok, then this is the latest.
>
>
> >
> > Another workaround
On Fri, May 01, 2015 at 09:04:59AM +0800, Pierce Ng wrote:
> On Tue, Apr 28, 2015 at 11:39:56AM -0400, David T. Lewis wrote:
> > Yes, that is the correct way to do it.
>
> David,
>
> It seems Command Shell doesn't handle REPL applications like the sqlite3
> sh
Yes, that is the correct way to do it.
I think that the ConfigurationOfOSProcess for Pharo includes a portion of
the CommandShell package, so if you load OSProcess from that configuration
you should also get the necessary PipeableOSProcess. That said, I would
still encourage you to load the full C
On Thu, Mar 12, 2015 at 06:23:28PM -0300, Pablo R. Digonzelli wrote:
> I think phil is right. -vm-display-null is the question . it aborts the
> process.
> Does not matter wich vm and image are you using.
> For example i am trying pharo4 latest image latest vm.
The -vm-display-null parameter i
> Excerpts from David T. Lewis's message of 2015-01-26 13:58:16 +0100:
>> > > > due to compute power constraints, i am running "pharo" as my only
>> > > > application via xinit, having to constantly switch between "pharo"
>> > > > and console (for mutt) is becoming painful. :)
>> > > another appro
On Mon, Jan 26, 2015 at 08:27:05AM +0100, Martin B??hr wrote:
> Excerpts from Martin B??hr's message of 2015-01-26 02:00:14 +0100:
> > Excerpts from Mayuresh Kathe's message of 2015-01-25 22:42:37 +0100:
> > > is there any email client with imap + smtp support available under
> > > "pharo" at the m
On Sun, Jan 25, 2015 at 09:54:12AM +0100, Sven Van Caekenberghe wrote:
>
> > On 25 Jan 2015, at 07:13, Pierce Ng wrote:
> >
> > On OSX, "OSProcessAccessor forThisOSProcess primGetCurrentWorkingDirectory"
> > gives "/", while on Linux the same gives "/home/pierce/work/pharo30". (Above
> > require
On Sun, Nov 02, 2014 at 07:28:44PM -0500, Offray Vladimir Luna C??rdenas wrote:
> Thanks David and Juan,
>
> I was trying to run a pandoc conversion from markdown to html and I had
> an error inside my command. Once corrected it works without any problem
> and generates the desired file. One not
On Sun, Nov 02, 2014 at 05:54:32PM -0500, Offray Vladimir Luna C??rdenas wrote:
> Hi all.
>
> I'm having problems with OSProcess. When I run "OSProcess command: 'my
> command'" on Linux, the Moose playground says that "an
> ExternalUnixOSProcess with pid 20887 on /bin/sh (running)", but the
> e
> On Sun, Sep 21, 2014 at 06:56:27PM -0400, David T. Lewis wrote:
>> If you are booting directly into the image, you may find it useful to
>> also
>> load CommandShell/OSProcess into your image. This will let you open a
>> Smalltalk shell window directly within your
On Sat, Sep 20, 2014 at 06:56:31PM +0530, Mayuresh Kathe wrote:
> On Sat, Sep 20, 2014 at 02:46:04PM +0200, stepharo wrote:
> >
> > On 20/9/14 08:48, Mayuresh Kathe wrote:
> > >Hello Stepharo,
> > >
> > >Thanks for writing in the detailed email.
> > >
> > >Last night I got Pharo to work on my Ubun
On Sat, Jun 28, 2014 at 08:19:41AM +0200, p...@highoctane.be wrote:
> Le 28 juin 2014 01:18, "David T. Lewis" a ??crit :
> >
> > On Fri, Jun 27, 2014 at 06:50:11PM +0200, p...@highoctane.be wrote:
> > > Thanks.
> > >
> > > But this would gi
On Fri, Jun 27, 2014 at 06:50:11PM +0200, p...@highoctane.be wrote:
> Thanks.
>
> But this would give me the 200 last chars. I am interested in the 200 last
> lines.
>
> Now, I did this:
>
> command := 'tac ', file fullName, ' | head -200'.
> ^ (PipeableOSProcess command: command) output.
>
> w
On Fri, Jun 13, 2014 at 06:01:44PM -0700, Glenn Swanlund wrote:
> On Windows 7, I'm trying to install OmniBase in Pharo-30846. I get an error
> for ExternalWindowsOSProcess >> doesNotUnderstand defaultShellPath.
>
> Does anyone have a solution for this?
Hi Glenn,
Sorry I did not reply earlier.
On Mon, Dec 23, 2013 at 06:52:25AM -0500, Daniel Roe wrote:
> I
> am trying to install Pharo on a Win7 64 bit computer and am following the
> examples given in the manual.
>
> I open up a new workspace and type in
>
> time now
>
> Then choose - print it - from the action menu and I get an erro
On Mon, Aug 19, 2013 at 11:02:37PM +0200, Udo Schneider wrote:
> All,
>
> is there anyway to get the PID of the VM running the image. I'm
> searching for a way to differentiate different instances of the same
> (read-only) image running on multiple VMs on the same server. Any other
> thoughts?
On Mon, Aug 05, 2013 at 08:42:12AM -0400, Juraj Kubelka wrote:
> Hi!
>
> On execution of
>
> (PipeableOSProcess command: 'pwd') output
>
> , it always says root directory ("/"). Is it possible to execute command from
> specific directory? Or the only correct solution is like this?:
>
> (Pipea
62 matches
Mail list logo