- What applications are available for the current process inside a Go application?
The applications available for a process are PID (process ID), PPID (parent PID), UID and GID (user and group ID), and the working directory. - How do you create a child process?
The exec.Cmd data structure can be used to define a child process. The process gets created when one of the Run, Start, Output, and CombinedOutput methods gets called. - How do you ensure that a child process survives its parent?
By default in Unix systems, a child survives if the parent terminates. Additionally, you can change the process group and session ID of the child in order to ensure that it survives the parent. - Can you access child properties? How can they be used?
One of the biggest advantages is to access the child PID to persist it somewhere, such as on the disk. This will allow another instance of...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand