Legacy Dev Forum Posts

 View Only

Sign Up

Archy (called from C# program) hangs

  • 1.  Archy (called from C# program) hangs

    Posted 06-05-2025 19:24

    Gerard_Tobin | 2023-05-25 14:43:46 UTC | #1

    I have created a c# application where I get the flow names "gc flows list -a" I then loop through these flow name and process = new Process(); command = $"archy export --flowName \"{name}\" --flowType inboundcall --exportType yaml --outputDir C:\\Users\\GerardTobin\\Archy\\FlowBackUp --force"; process.StartInfo.FileName = "cmd.exe"; process.StartInfo.Arguments = "/c " + command; process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardOutput = true; process.Start(); output = process.StandardOutput.ReadToEnd(); process.WaitForExit();

    The problem is that archy usually hangs after a few downloads. I have tried running the command from the command line and it was successful. Occasionally the program runs to completion.


    system | 2023-06-25 14:43:07 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 20118