Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How does one process we can start an executable file? How to
get the PID process, which we started?

Answer Posted / sangeetha

We can start a new process from an existing process by
calling the function system("new process &"). The & sign
indicates the new process will run in background. Then
after this we can use the "ps" command to get the PID of
the new process.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I delete files from command prompt?

1280


What is awk good for?

1190


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1624


What is in grep command?

1212


What does the metacharacter mean?

1187


How do I search a whole word in vim?

1220


Enumerate some of the most commonly used network commands in unix?

1215


Can you explain a little bit about command substitution?

1160


What is grep r?

1160


Who invented grep?

1209


How do I search for a file in unix command?

1057


What is the comma to show the space allocation of files?

1135


Who command in unix?

1190


What does the “echo” command do?

1193


Explain mount and unmount command.

1278