[openbeos] Re: StyledEdit news of various interest - CWD
- From: "Alexander G. M. Smith" <agmsmith@xxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 24 Jul 2003 10:49:59 -0400 EDT
Andrew Bachmann wrote on Tue, 22 Jul 2003 20:52:37 -0700 PDT:
> Btw I highly encourage people to look at the implementation of
> StyledEditApp::DispatchMessage and also StyledEditApp::ArgvReceived.
> These have been enhanced to pass along the current working directory
> from the B_ARGV_RECEIVED message. This is very important when
> resolving relative paths passed in via command-line invokation. IMHO,
> this behavior is possibly even worth implementing in an R2 BApplication.
Thanks for the pointer. I didn't realise there was a cwd parameter in the
arguments message. Now I can do better command line processing in my
single-instance server programs!
- Alex
Other related posts:
- » [openbeos] Re: StyledEdit news of various interest - CWD