|
Hi everybody, running cygwin on windows I can connect and execute X applications with no further problems just accessing the remote linux box as ssh -Y -l user machine. If I do the same against a mac box and try to open ie. firefox as: open -a firefox...
Started by julian on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Trying to run? Hopefully not just Firefox -- it'd be much easier to just use it on Linux than try to use.
|
|
I'm working in linux. I have two programs that run for infinite time ( that is , wont stop unless i kill the process ).i want to run program 1 first and then run program 2 after 20 seconds ( both will have to run simultaneously as one reads a file written...
Started by trinity on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Prog1 & sleep 20 prog2
Using the shell:
$ program1 & sleep 20 ; program2
If one program reads of the other:
$> program1 | program2
I'm assuming that you have control over these two programs.
|
|
I manage Unix systems where, sometimes, programs like CGI scripts run forever, sometimes eating a lot of CPU time and wasting resources.
I want a program (typically invoked from cron) which can kill these runaways, based on the following criteria (combined...
Started by bortzmeyer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Most of the watchdig-like programs or libraries are just trying to see whether a given process is running, so I'd say you'd better off writing your own, using the existing libraries that give out: /etc/login.conf CGI scripts can usually ....
|
Ask your Facebook Friends
|
Hi; I run my programs and want them to go on running although i logged off from the system. Is there a way to do this without windows services?
Here is what i want: I remote connect to the server, I log in to the server, I start my program. I log off ...
Started by irfan on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The other way would be to use Scheduled Tasks, that would run a program program, and schedule it to ....
The only solution that I can think of is running your program as a Windows Service developed, but something else.
|
|
I installed all the necessary packages for running GUI programs in Cygwin.
Right now, I have to do these things to launch an XWindow program:
1) /bin/startxwin.sh
2) It starts a separate window (the X Window?)
2) In that X Window, ssh -X user@server (...
Started by Saobi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you want a nice GUI , AFAIK you need an X server to display graphics .
You programs directly.
"ssh -X" is actually not nesessary.
No, you have to launch X Window server (run startxwin.sh).
|
|
Hi stackoverflowers
is there any way to build/run small C++ programs, in Visual Studio without creating projects, like in old days in IDEs like turbo c++ you could just compile and run without creating projects.
Thanks in advance!
Answer Snippets (Read the full thread at stackoverflow):
First, create a batch file that will set up the compiler environment and run the compiler saved the file, the compile will run against....
Within the actual IDE, I don't think it's possible to run a small program, you have to use be.
|
|
Hello,
I need to run a couple of other programs from my own Java program, basically I need to run these command line statements.
svn log --xml -v > svn.log
and
java -jar example.jar arg1 arg2
and I need to use the text outputs written to the console...
Answer Snippets (Read the full thread at stackoverflow):
Here:
ProcessBuilder processbuilder try { processbuilder.directory(file); processbuilder.redirectErrorStream(true); process = processbuilder.start(); String readLine; BufferedReader output = new BufferedReader(new InputStreamReader(process.getInputStream... .
|
|
Linux allows me to have a short system path by placing binaries in just a few locations. I don't have to edit the path because I just installed a new application, and I don't have to hunt for applications I want to run. How can I, with PowerShell as the...
Started by Brian on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Hope that helped!
Using specifically Powershell you can just create aliases for programs.
Many programs create an app paths entry in the registry (HKEY_LOCAL_MACHINE your path.
Apps into c:\bin.
|
|
When moving my .Net Compact Framework application to the SD-card of a Windows CE device, the program executes slower then running it from the internal memory.
I thought, the start-up might be slower, but it is the whole program. There is no IO to the ...
Started by Louis Haußknecht on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Your app cannot be run directly from the SD-card, as SD is not executable media so it has to be pulled into....
(The Symbol MC1000 definitely)
It has to do with demand-paging .
Manufacturers recommend against running from non-volatile storage.
|
|
I have a user who is playing games all day at work and I want to discretely control if and when he is able to run his game.
Is there a way to set up a schedule for when the program is allowed to run and when it is not allowed to run?
Started by Jeff Leonard on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at serverfault):
Running in its "allow everything, block exceptions" mode (called allowed programs or paths are permitted to run, Software Restriction Policy really has teeth this behavior during core hours I ....
Disallow program execution.
|