Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Condor commands execution using system() function in C++
- Date: Tue, 14 Apr 2009 16:10:19 -0500
- From: Ben Burnett <burnett@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Condor commands execution using system() function in C++
Hi Madhu:
I just compiled and ran:
#include <stdio.h>
void main () {
system ( "c:\\condor\\bin\\condor_status.exe" );
}
And I've had no difficulties with it. Maybe if I could see your code,
it might make a difference.
Regards,
-B
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Madhu Vadali
> Sent: Tuesday, April 14, 2009 3:36 PM
> To: 'Condor-Users Mail List'
> Subject: Re: [Condor-users] Condor commands execution using system()
function
> in C++
>
> Hi Ben,
>
> After a hint from one of the condor users that there could be a problem
with
> the DLLs concerning the condor commands and sought the probability of
> solving that in 7.2.2. Unfortunately the problem is persistent here as
well.
> I was hoping if you can help me out with the problem.
>
> Thank you in Advance
>
> Madhu
>
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of burnett@xxxxxxxxxxx
> Sent: Wednesday, April 01, 2009 7:45 PM
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] Condor commands execution using system()
> function in C++
>
> Hi Madhu:
>
> You should have the correct privileges to run condor_status, unless you
> have explicitly changed the c:\condor\bin directory's permissions
> (Everyone on the machine should at the very least have read and execute
> permissions for the directory).
>
> > System("c:\\condor\\bin\\condor_status");
>
> Maybe a .exe extension is necessary when using your compiled program from
> within Condor (unless that was just a typo).
>
> Regards,
> -B
>
>
>
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/