Simple question

S

Sillaba atona

I should implement in C POSIX the possibility to have an exec command in
background like the command & in bash shell.

I simple used a fork+exec without a wait command in the master process.
It seems to be correct, but when I run the programm the cursor disappear
until the child process stops.

Any suggestion?
 
N

Niklas Norrthon

Sillaba atona said:
I should implement in C POSIX the possibility to have an exec command
in background like the command & in bash shell.

I simple used a fork+exec without a wait command in the master
process. It seems to be correct, but when I run the programm the
cursor disappear until the child process stops.

Any suggestion?

I suggest that you ask in comp.unix.programming.

/Niklas Norrthon
 
K

Keith Thompson

Sillaba atona said:
I should implement in C POSIX the possibility to have an exec command
in background like the command & in bash shell.

I simple used a fork+exec without a wait command in the master
process. It seems to be correct, but when I run the programm the
cursor disappear until the child process stops.

Any suggestion?

Try comp.unix.programmer. fork and exec are not standard C functions.
 
F

Flash Gordon

Sillaba said:
I should implement in C POSIX the possibility to have an exec command in
background like the command & in bash shell.

I simple used a fork+exec without a wait command in the master process.
It seems to be correct, but when I run the programm the cursor disappear
until the child process stops.

Any suggestion?

Only one suggestion, please ask on a group where POSIX is topical, such
as comp.unix.programmer, not here. On this group we only discus standard
C, not the extensions provided by POSIX, Windows or any other system you
care to name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top