Hello, The following X++ code runs an executable located on the AOS. It uses
.NET Framework classes.
static server int executeOnServer(str _process,str _arguments)
{
InteropPermission perm = new InteropPermission(InteropKind::ClrInterop);
System.Diagnostics.Process p;
int exitCode;
;
perm.assert();
p=System.Diagnostics.Process::Start(_process,_arguments);
p.WaitForExit();
exitCode=p.get_ExitCode();
return exitCode;
}
Hope this helps...
Elyo Ravuna
Information Technology Manager
Avnet Technology Solutions - Turkey
--- In [email protected], "MvT" <m...@...> wrote:
>
> Hi there,
>
> Can someone please show me how to open another EXE within AX 2009 Job.
>
> Kind regards.
>
> [Non-text portions of this message have been removed]
>