C
C#5mo ago
ILikeCats!

✅ Start process in dir - solved

how do i start a process not in bin? the process creates files i want to be read and made elsewhere.
7 Replies
many things
many things5mo ago
show us your code we don't know if you use Process.Start or ProcessStartInfo or whatever, you usually simply write the absolute with the executable
ILikeCats!
ILikeCats!OP5mo ago
Process.startinfo but i can change
many things
many things5mo ago
then again use the full path of the executable
Trinitek
Trinitek5mo ago
if the process is creating files relative to its "working directory" or "current directory" then you can set this with the WorkingDirectory property https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.workingdirectory?view=net-9.0
ILikeCats!
ILikeCats!OP5mo ago
Thank How do i close this post
leowest
leowest5mo ago
@ILikeCats! instead of changing the title just use $close as suggested by the bot message below
MODiX
MODiX5mo ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?