Discussion:
ampersand
(too old to reply)
Drew Chen
2005-03-02 21:08:10 UTC
Permalink
should

/c/b.exe one two
three &

be the same as

/c/b.exe one two
three&

or should "three&"
be considered the
argument?

-Drew
Joe Barrett
2005-03-02 21:17:05 UTC
Permalink
Post by Drew Chen
or should "three&"
be considered the
argument?
In traditional UNIX/Linux/BSD systems - which is what we're basing
GeekOS off - you can append the ampersand at the end of a line (such as
"./foo bar&" and it runs in the background, so I assume that we should
emulate that behaviour. There shouldn't be any difference in coding it,
no matter how many whitespaces there are between 'bar' and the ampersand.

That's how I've got it implemented and it seems to work.

Joe

Continue reading on narkive:
Loading...