Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
Creating a pidfile
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
HugoFromBOSS
New Member
Join Date:
Sep 2007
Posts:
38
#1
Creating a pidfile
Mar 6 '08, 08:05 PM
How can I get my program to output a pidfile once its finished loading? Thanks
HugoFromBOSS
New Member
Join Date:
Sep 2007
Posts:
38
#2
Mar 7 '08, 09:02 AM
figured it out.
echo -n $"Statting app"
<exe>
PID=$!
echo $PID > "/var/run/app.pid"
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment