C
C#4mo 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
Ꜳåąɐȁặⱥᴀᴬ
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!OP4mo ago
Process.startinfo but i can change
Ꜳåąɐȁặⱥᴀᴬ
then again use the full path of the executable
Trinitek
Trinitek4mo 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!OP4mo ago
Thank How do i close this post
leowest
leowest4mo ago
@ILikeCats! instead of changing the title just use $close as suggested by the bot message below
MODiX
MODiX4mo ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?