» Home » killed » Page 1
Having a IO.popen command be killed when the caller process is killed
by Georgia in Programming Languages

I have a Ruby script that starts a subprocess. I want them to be killed when the overall process is killed.


IO.popen('testacular start unit.conf.js', 'w')

Run my script:


user.name:/my/repo [git: my-branch] $ ruby my-script.rb

Output from testacular:


user.name:/my/repo [git: my-branch] $ info: Testacular serv

is it possible my threads are not being killed when the server is killed
by Boyer C. in Programming Languages

A quartz scheduler is being used in an Application I am working on. A process that runs using the quartz scheduler spawns new threads. I was wondering if it is possible for these threads to continue living after the server is killed?


Process management: To be killed or Not to be killed
by deshao in Programming Languages

An observation: While I was developing my app on android, I noticed following two lines in LogCat. These occurred because of too much memory requirements of my own app. I have read that Android can decide when to get rid of a process that are not needed or because of memory requirements.


Does it mean the alarm will not trigger at all (when some other app has made it to kill)? The al


.Net 4.5 killed my TPL, now what?
by OGG in Programming Languages

Exhibit 1: some code wrapping an Async (not async!) network call into a Task


public static Task<byte[]> GetAsync(IConnection connection, uint id)
{
ReadDataJob jobRDO = new ReadDataJob();
//No overload of FromAsync takes 4 extra parameters, so we have to wrap
// Begin in a Func so that it looks like it takes no param
TAGS : killed what

LocationListener does not get killed
by kanda in Programming Languages

I have a foreground service which implements LocationListener. When the Service is killed, it keeps on getting a fix. However this is what I call in the onDestroy()


@Override
public void onDestroy() {
Log.e(getPackageName(), "Destroying GPSservice");
super.onDestroy();
running = false;
stopForeground(true);
locationMa

HTC one - app is killed every time
by Granville Barnett in Programming Languages

Hi I got a problem with my app. App is tracking the user road by GPS. It getting only start point and with each next point calculate distance and increase time. Everything is working great on my HTC Wildfire (with CMD7 2.3.7), Samsung SIII and Galaxy Tab 10.1.


When user start tracking, the app is finishing current activity and start new process with service in background. In the sa

TAGS : killed every time

Can this PHP Script be killed?
by Toetee in PHP
<?php
class Test {
public function foo() {
echo "Foo!";
die();
}
public function __destruct() {
header('location: http://google.com');
}
}
$Test = new Test;
$Test->foo();

I have a class which simply assign's various Session variables then pings the user back to their prev

TAGS : this Script killed

Cast has killed me -?
by Martin Dobrev in Databases
Error 4 Cannot implicitly convert type
'System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<CCE_2009.Data.Person>>'
to
'System.Collections.Generic.IEnumerable<CCE_2009.Data.Person>'

Generated from:


var RecoveryManagerQuery =
from RM in
(
from REP in e.Result
TAGS : Cast killed

HelloWebView Sample: now using SDK 3 and getting killed
by ferpaz in Programming Languages

Updated: I have now included the logcat file below. Looking at it it appears I am still having a permission problems (06-05 14:10:36.593) - I am guessing the same problem I am having with SDK 7


Well I was trying to get the HelloWebview example working with SDK 7 with no success (see HelloWebView Sample: java.lang.SecurityException: Permission Denial thread), so I decided just out


Hadoop jobs not killed
by Kavoos in Coding

My jobs have some exception before map-reduce steps, but jobs are not getting killed. How to configure hadoop such that jobs get killed after exception?


Invoking Main class now


Heart beat
Heart beat


Invocation of Main class completed


Oozie Launcher ends


stderr logs


org.springframework.jdbc.CannotGetJdbcConnectionE
TAGS : Hadoop jobs killed

Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .