|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
C# windows service freezes on System.Diagnostics.Process.Start(info)C# windows service freezes on System.Diagnostics.Process.Start(info)
When I launch PSCP from a C# windows service and launch pscp 0.53 there are no issues. but when I use C# windows service to launch pscp 0.58 C# freezes in System.Diagnostics.Process.Start(info)? pscp 0.58 works fine at command line, but causes C# to freeze on ystem.Diagnostics.Process.Start(info) also i noticed that the pscp process does not show in taske manager while ystem.Diagnostics.Process.Start(info) is hanging. Reguardless of the implementation of PSCP, how can ystem.Diagnostics.Process.Start(info) ever freeze while the target exe is not loaded in task manager? Probably a user rights issue. Your service is attempting to run the program
under a different account than you are. The new version may have issues running under a more restricted account. Try to run the service under a user account and see if it works. If it does, you at least know where the issue is (the solution isn't running under a user account, btw). Show quote "Daniel" wrote: > C# windows service freezes on System.Diagnostics.Process.Start(info) > > When I launch PSCP from a C# windows service and launch pscp 0.53 there are > no issues. but when I use C# windows service to launch pscp 0.58 C# freezes > in System.Diagnostics.Process.Start(info)? pscp 0.58 works fine at command > line, but causes C# to freeze on ystem.Diagnostics.Process.Start(info) also > i noticed that the pscp process does not show in taske manager while > ystem.Diagnostics.Process.Start(info) is hanging. Reguardless of the > implementation of PSCP, how can ystem.Diagnostics.Process.Start(info) ever > freeze while the target exe is not loaded in task manager? > > > |
|||||||||||||||||||||||