HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- run a script while disassociating it from parent p...
Operating System - Linux
1831477
Members
3429
Online
110025
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 10:35 AM
08-17-2010 10:35 AM
run a script while disassociating it from parent process
I really hope the title explains well enough..
Basically, I have a 32-bit 4GL database script that can execute a unix command from within it. What I need is to have it do it execute a unix command without the 4GL program as its parent.
The issue is that the unix command bombs out if called from within the db script, yet it runs fine when run from the shell or from cron.
OS: RHEL 5.5 x64
Basically, I have a 32-bit 4GL database script that can execute a unix command from within it. What I need is to have it do it execute a unix command without the 4GL program as its parent.
The issue is that the unix command bombs out if called from within the db script, yet it runs fine when run from the shell or from cron.
OS: RHEL 5.5 x64
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 01:41 PM
08-17-2010 01:41 PM
Re: run a script while disassociating it from parent process
> Basically, [...]
A dangerous beginning.
> [...] a unix command [...]
Not a very detailed description of the
command.
> The issue [...]
Is that anything like a _problem_?
> [...] the unix command bombs out [...]
Not a very detailed description of the
failure.
It might make more sense to try to fix the
actual original problem than to try to
implement some particular potential solution
which may or may not make any sense.
A dangerous beginning.
> [...] a unix command [...]
Not a very detailed description of the
command.
> The issue [...]
Is that anything like a _problem_?
> [...] the unix command bombs out [...]
Not a very detailed description of the
failure.
It might make more sense to try to fix the
actual original problem than to try to
implement some particular potential solution
which may or may not make any sense.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2010 04:46 PM
08-20-2010 04:46 PM
Re: run a script while disassociating it from parent process
Perhaps use nohup?
Bombs out how? Perhaps you need to invoke a script that does your command. That way you can control any needed environment variables.
Bombs out how? Perhaps you need to invoke a script that does your command. That way you can control any needed environment variables.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP