[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] CLI cdplayer



afaik, exec is supposed to do that.

exec will replace the parent process by the child. (so parent quits for
the child).

the proper way would be a simple old:
/p/track01.prg

(p being your cdrom letter drive)

It even plays in background naturally. No need to append '&'.



On Sat, 6 Nov 1999, Martin-Eric Racine wrote:

> On Sat, 6 Nov 1999, Julian Reschke wrote:
> 
> > For instance, you could Pexec the file track01.prg -- however
> > I'm not sure whether this will continue to play the rest of
> > the CD...
> 
> Nope, there is a specific command that tells the CD to play all.
> 
> I haven't read those cd-rom SCSI specs in ages, though, so I'm
> sorry if I don't have any specifics...
> 
> Also, I tried typing "exec /q/TRACK01.PRG" and ok, the track
> starts, but the shell dies with a bus error in the process.
> 
> -- 
> ----------------------------------------------------------------
> Martin-Éric Racine            The Atari Stacy and TT030 Homepage
> Lappeenranta, Finland          http://members.tripod.com/~TT030/
> ----------------------------------------------------------------
>    "When the time comes, I will know and I shall be."  Q-Funk 
> 
> 
>