Sorting filePro Arrays

Jay R. Ashworth jra at baylink.com
Sun May 18 20:44:07 PDT 2008


On Sun, May 18, 2008 at 08:42:29PM -0400, Fairlight wrote:
> > The file "sorted.tmp" is created, but doen't contain the redirected
> > output of SORT.

Wow.  I misread that; you're *getting* the file, but no contents? 

Odd.

> > Can anyone offer any suggestions?
> 
> Yeah, I -think- I have a sane one.  Use 'start' as a prefix for the whole
> command.  Redirection is kind of funky in Windows, as it's reliant on the
> command interpreter--which start will invoke.  If you do a straight
> system() call, redirects tend not to work.  I think another part of the API
> is used for that inside fP.

I might be wrong, but I thought that SYSTEM *did* *explicitly* call
the command interpreter, and (separately) that it was the programs
themselves that did redirection, similarly to how they do command line
parsing themselves.

No?

> If 'start' prepended to the command actually works, then you're going to
> get a secondary window in the interim while it "forks off" (asynchronously,
> of course).  You can suppress that with one of the flags to start.  I
> believe it's /B.  The start command has its own help, so it's not hard to
> find.

Sure, but how would he then *wait* for it to finish?

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)


More information about the Filepro-list mailing list